| Class of Service Commands
C
41
HAPTER
Priority Commands (Layer 3 and 4)
qos map
dscp-mutation
Table 177: Mapping Internal PHB/Drop Precedence to CoS/CFI Values
Drop Precedence
Per-hop Behavior
5
6
7
C
M
OMMAND
ODE
Interface Configuration (Port)
C
U
OMMAND
SAGE
Enter a CoS/CFI value pair, followed by the keyword "from" and then
◆
four internal per-hop behavior and drop precedence value pairs
separated by spaces.
If the packet is forwarded with an 8021.Q tag, the priority value in the
◆
egress packet is modified based on the table shown above, or on
similar values as modified by this command.
E
XAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#qos map dscp-cos 1 0 from 1 2
Console(config-if)#
This command maps DSCP values in incoming packets to per-hop behavior
and drop precedence values for priority processing. Use the no form to
restore the default settings.
S
YNTAX
qos map dscp-mutation phb drop-precedence from dscp0 ... dscp7
no qos map dscp-mutation dscp0 ... dscp7
phb - Per-hop behavior, or the priority used for this router hop.
(Range: 0-7)
drop-precedence - Drop precedence used for in controlling traffic
congestion. (Range: 0 - Green, 3 - Yellow, 1 - Red)
dscp - DSCP value in ingress packets. (Range: 0-63)
– 1396 –
0 (green)
1 (red)
(5,0)
(5,0)
(6,0)
(6,0)
(7,0)
(7,0)
3 (yellow)
(5,0)
(6,0)
(7,0)