Cisco Systems ME 3400 Switch User Manual


  Open as PDF
of 1086
 
33-13
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Understanding QoS
Switch(config-pmap-c)# set ip precedence 4
Switch(config-pmap-c)# exit
Switch(config)# policy-map parent-customer-1
Switch(config-pmap)# class customer-1-vlan
Switch(config-pmap-c)# service-policy ingress-policy-1
Switch(config-pmap-c)# exit
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode trunk
Switch(config-if)# service-policy input customer-1-ingress
Switch(config-pmap-c)# exit
Note Each per-port, per-VLAN parent policy class, except class-default, can have a child policy association.
See the “Configuring Per-Port Per-VLAN QoS with Hierarchical Input Policy Maps” section on
page 33-47 for configuration information, including configuration guidelines and limitations.
Table Maps
You can use table maps to manage a large number of traffic flows with a single command. You can
specify table maps in set commands and use them as mark-down mapping for the policers. You can also
use table maps to map an incoming QoS marking to a replacement marking without having to configure
a large number of explicit matches and sets. Table maps are used only in input policy maps.
Table maps can be used to:
Correlate specific CoS, DSCP, or IP precedence values to specific CoS, DSCP, or IP precedence
values
Mark down a CoS, DSCP, or IP precedence value
Assign defaults for unmapped values
A table map includes one of these default actions:
default default-value—applies a specific default value (0 to 63) for all unmapped values
default copy—maps all unmapped values to the equivalent value in another qualifier
default ignore—makes no changes for unmapped values
This example creates a table to map specific CoS values to DSCP values. The default command maps
all unmapped CoS values to a DSCP value of 63.
Switch(config)# table-map cos-dscp-tablemap
Switch(config-tablemap)# map from 5 to 46
Switch(config-tablemap)# map from 6 to 56
Switch(config-tablemap)# map from 7 to 57
Switch(config-tablemap)# default 63
Switch(config-tablemap)# exit
The switch supports a maximum of 256 unique table maps. You can enter up to 64 different map fromto
entries in a table map. These table maps are supported on the switch:
DSCP to CoS
DSCP to precedence
DSCP to DSCP
CoS to DSCP