ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
41
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 1395
COMMAND MODE
Interface Configuration (Port)
COMMAND USAGE
Enter a drop precedence, followed by the keyword “from” and then up
to four per-hop behavior values separated by spaces.
This command only applies to Layer 2 untagged ingress packets. The
drop precedence for any priority tagged ingress packets will be based
on the other corresponding QoS mapping schemes described in those
sections.
EXAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#qos map default-drop-precedence 1 from 0 1 2
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
Table 177: 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)