Cisco Systems A9014CFD Router User Manual


 
24-51
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 24 Configuring QoS
Configuring Quality of Service (QoS)
This example shows how to create a class map called class2, which matches incoming traffic with DSCP
values of 10, 11, and 12.
Router(config)# class-map match-any class2
Router(config-cmap)# match ip dscp 10 11 12
Router(config-cmap)# exit
Step 3
match {cos cos-list | ip dscp dscp-list
| ip precedence ip-precedence-list |
qos-group value | vlan vlan-list}
Define the match criterion to classify traffic. By default, no match criterion
is defined.
Only one match type per class map is supported.
For cos cos-list, enter a list of up to four CoS values in a single line to
match against incoming packets. Separate each value with a space. You
can enter multiple cos-list lines to match more than four CoS values. The
range is 0 to 7.
For ip dscp dscp-list, enter a list of up to eight IPv4 DSCP values to
match against incoming packets. Separate each value with a space. You
can enter multiple dscp-list lines to match more than eight DSCP values.
The numerical range is 0 to 63. You can also configure DSCP values in
other forms. See the “Classification Based on IP DSCP” section on
page 24-9.
For ip precedence ip-precedence-list, enter a list of up to four IPv4
precedence values to match against incoming packets. Separate each
value with a space. You can enter multiple ip-precedence-list lines to
match more than four precedence values. The range is 0 to 7.
For vlan vlan-list, specify a VLAN ID or a range of VLANs to be used
in a parent policy map for per-port, per-VLAN QoS on a trunk port. The
VLAN ID range is 1 to 4094.
For qos-group value, specify the QoS group number. The range is
0 to 7. Matching of QoS groups is supported only in output policy maps.
Step 4
end Return to privileged EXEC mode.
Step 5
show class-map Verify your entries.
Step 6
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose