Installation guide
Quality of Service Commands
4-307
4
To create a service policy for a specific category of ingress traffic, follow these steps:
1. Use the class-map command to designate a class name for a specific category
of traffic, and enter the Class Map configuration mode.
2. Use the match command to select a specific type of traffic based on an access
list, a DSCP or IP Precedence value, or a VLAN.
3. Use the policy-map command to designate a policy name for a specific
manner in which ingress traffic will be handled, and enter the Policy Map
configuration mode.
4. Use the class command to identify the class map, and enter Policy Map Class
configuration mode. A policy map can contain multiple class statements.
5. Use the set command to modify the QoS value for matching traffic class, and
use the policer command to monitor the average flow and burst rate, and drop
any traffic that exceeds the specified rate, or just reduce the DSCP service level
for traffic exceeding the specified rate.
6. Use the service-policy command to assign a policy map to a specific interface.
Notes: 1.
You can configure up to 16 rules per Class Map. You can also include
multiple classes in a Policy Map.
2. You should create a Class Map (page 4-307) before creating a Policy Map
(page 4-309). Otherwise, you will not be able to specify a Class Map with the
class command (page 4-310) after entering Policy-Map Configuration mode.
class-map
This command creates a class map used for matching packets to the specified
class, and enters Class Map configuration mode. Use the no form to delete a class
map and return to Global configuration mode.
Syntax
[no] class-map class-map-name [match-any]
• match-any - Match any condition within a class map.
• class-map-name - Name of the class map. (Range: 1-16 characters)
Default Setting
None
Command Mode
Global Configuration
show policy-map Displays the QoS policy maps which define classification
criteria for incoming traffic, and may include policers for
bandwidth limitations
PE 4-314
show policy-map interface Displays the configuration of all classes configured for all
service policies on the specified interface
PE 4-314
Table 4-85 Quality of Service Commands (Continued)
Command Function Mode Page