33-36
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuring QoS
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
This example shows how to create a parent class-map called parent-class, which matches incoming
traffic with VLAN IDs in the range from 30 to 40.
Switch(config)# class-map match-any parent-class
Switch(config-cmap)# match vlan 30-40
Switch(config-cmap)# exit
Configuring Table Maps
You can configure table maps to manage a large number of traffic flows with a single command. 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.
Beginning in privileged EXEC mode, follow these steps to create a table map:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 table-map table-map-name Create a table map by entering a table-map name and entering table-map
configuration mode.
Step 3 map from from-value to to-value Enter the mapping values to be included in the table. For example, if the
table map is a DSCP-to-CoS table map, the from-value would be the
DSCP value and the to_value would be the CoS value. Both ranges are
from 0 to 63.
Enter this command multiple times to include all the values that you want
to map.