Quality of Service (QoS) Commands
78-21075-01 Command Line Interface Reference Guide
User Guidelines
Use the policy-map Global Configuration mode command to specify the name of
the policy map to be created, added to, or modified before configuring policies for
classes whose match criteria are defined in a class map.
Entering the
policy-map
configuring or modifying the class policies for that policy map. Class policies in a
policy map can be configured only if the classes have match criteria defined for
them.
Policy map is applied on the ingress path.
The match criteria is for a class map. Only one policy map per interface is
supported. The same policy map can be applied to multiple interfaces and
directions.
The
service-policy
command binds a policy map to a port/port-channel.
Example
The following example creates a policy map called Policy1 and enters the
Policy-map Configuration mode.
switchxxxxxx(config)#
switchxxxxxx(config-pmap)#
49.8
class
Use the class Policy-map Configuration mode command after the
command to attach ACLs to a policy-map.
Use the no form of this command to detach a class map from a policy map.
This command is only available when QoS is in advanced mode.
Syntax
class-map-name [
class
class-map-name
no class
Parameters
•
class-map-name—Specifies the name of an existing class map. If the class
map does not exist, a new class map is created under the specified name.
Global Configuration mode command also enables
policy-map
policy1
acl-name
access-group
policy-map
]
49
801