2-69
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-10
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
cpu traffic qos precedence
Command History
Usage Guidelines This feature must be configured globally for a switch; it cannot be configured per-port or per-protocol.
Enter each cpu traffic qos marking action on a separate line.
The cpu traffic qos dscp and cpu traffic qos precedence global configuration commands are mutually
exclusive. A new configuration overwrites the existing configuration.
When the cpu traffic qos precedence global configuration command is configured with table maps, you
can configure only one map from value at a time—DSCP, precedence, or CoS. A new configuration
overwrites the existing configuration. Packets marked by this command can be classified and queued by
an output policy map based on the marked precedence or DSCP value.
You cannot configure a map from value of both DSCP and precedence. A new configuration overwrites
the existing configuration.
Examples The following example shows how to mark the precedence based on the DSCP value in the packet and
configure egress queuing based on the precedence value.
The example has these results:
• Marks the CPU-generated IP traffic with the DSCP value 48 to the precedence value 7.
• Marks the other CPU-generated IP traffic to the precedence value 0.
• Allows all other CPU-generated non-IP traffic to be processed by the default class.
• Queues CPU-generated IP traffic with precedence value 7 using class precedence 7.
• Allows all other CPU-generated IP traffic to be processed by the default class.
Table-map:
switch(config)# table-map dscp-to-prec
switch(config-tablemap)# map from 48 to 7
switch(config-tablemap)# default 0
switch(config-tablemap)# end
CPU QoS:
switch(config)# cpu traffic qos precedence dscp table-map dscp-to-prec
Class-maps:
switch(config)# class-map prec7
switch(config-cmap)# match ip precedence 7
switch(config-cmap)# end
Policy-maps:
switch(config)# policy-map output-policy
switch(config-pmap)# class prec7
switch(config-pmap-c)# priority
switch(config-pmap-c)# end
Release Modification
12.2(52)SE This command was introduced.