30-33
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Configuring QoS Configuring QoS
Use the no form of the appropriate command to delete an existing class map or r emove a match criterion.
This example shows how to create access list 103 and configure the class map calle d class1. Th e class1
has one match criterion, which is access list 103. It permits traffic from any host to any destination that
matches a DSCP value of 10.
Switch(config)# access-list 103 permit any any dscp 10
Switch(config)# class-map class1
Switch(config-cmap)# match access-group 103
Switch(config-cmap)# exit
This example shows how to create a class map cal led class2, whi ch matches incomin g traff ic w ith DSCP
values of 10, 11, and 12.
Switch(config)# class-map match-any class2
Switch(config-cmap)# match ip dscp 10 11 12
Switch(config-cmap)# exit
This example shows how to create a class map called class3, which matches incoming traffic with
IP-precedence values of 5, 6, and 7:
Switch(config)# class-map match-any class3
Switch(config-cmap)# match ip precedence 5 6 7
Switch(config-cmap)# exit
Configuring Table Maps
You can configure table maps to manage a larg e number of traf f ic f lo ws with a sin gle comm and. You use
table maps to correlate specific DSCP, IP precedence and CoS values to each other, to mark down a
DSCP, IP precedence, or CoS value, or to assign default values. You can specify table maps in set
commands and use them as mark-down mapping for the policers.
These table maps are supported on the switch:
DSCP to CoS, precedence, or DSCP
CoS to DSCP, precedence, or CoS
Precedence to CoS, DSCP, or precedence
Note these guidelines when configuring table maps:
The switch supports a maximum of 256 unique table maps.
The maximum number of map statements within a table map is 64.
Table maps cannot be used in output policy maps.
Step5 show class-map Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose