Modular Quality of Service Command-Line Interface QoS
Step 2
Step 3
Step 4
Step 5
Step 6
Configuration Examples for Applying QoS Features Using the
MQC
Creating a Traffic Class
In the following example, we create traffic classes and define their match criteria. For the first traffic class
(class1), we use access control list (ACL) 101 as match criteria; for the second traffic class (class2), ACL
102. We check the packets against the contents of these ACLs to determine if they belong to the class.
class-map class1
match access-group 101
exit
Command or Action
show class-map
Example:
Router# show class-map
show policy-map policy-map-name
class class-name
Example:
Router# show policy-map policy1
class class1
show policy-map
Example:
Router# show policy-map
show policy-map interface type number
Example:
Router# show policy-map interface
TengigabitEthernet 4/1/0
exit
Example:
Router# exit
Cisco cBR Series Converged Broadband Routers Quality of Services Configuration Guide for Cisco IOS XE Fuji
Configuration Examples for Applying QoS Features Using the MQC
Purpose
(Optional) Displays all class maps and their
matching criteria.
(Optional) Displays the configuration for the
specified class of the specified policy map.
• Enter the policy map name and the class name.
(Optional) Displays the configuration of all classes
for all existing policy maps.
(Optional) Displays the statistics and the
configurations of the input and output policies that
are attached to an interface.
• Enter the interface type and number.
(Optional) Exits privileged EXEC mode.
16.7.x
21