CLI Reference Guide-R04

Table Of Contents
Chapter 23
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 636 –
Console(config-if)#qos map default-drop-precedence 3 from 3 4 5
Console(config-if)#qos map default-drop-precedence 0 from 6 7
Console(config-if)#
qos map dscp-cos This command maps internal per-hop behavior and drop precedence value pairs to
CoS/CFI values used in tagged egress packets on a Layer 2 interface. Use the no
form to restore the default settings.
Syntax
qos map dscp-cos cos-value cfi-value from phb0 drop-precedence0 ...
phb7 drop-precedence7
no map ip dscp phb0 drop-precedence0 ... phb7 drop-precedence7
cos-value - CoS value in ingress packets. (Range: 0-7)
cfi-value - Canonical Format Indicator. Set to this parameter to “0” to
indicate that the MAC address information carried in the frame is in
canonical format. (Range: 0-1)
phb - Per-hop behavior, or the priority used for this router hop. (Range: 0-7)
drop-precedence - Drop precedence used for controlling traffic congestion.
(Range: 0 - Green, 3 - Yellow, 1 - Red)
DEFAULT SETTING
Command Mode
Interface Configuration (Ethernet)
Command Usage
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.
Table 121: Mapping Internal PHB/Drop Precedence to CoS/CFI Values
Drop Precedence
Per-hop Behavior
0 (green) 1 (red) 3 (yellow)
0 (0,0) (0,0) (0,0)
1 (1,0) (1,0) (1,0)
2 (2,0) (2,0) (2,0)
3 (3,0) (3,0) (3,0)
4 (4,0) (4,0) (4,0)
5 (5,0) (5,0) (5,0)
6 (6,0) (6,0) (6,0)
7 (7,0) (7,0) (7,0)