CLI Reference Guide-R04

Table Of Contents
Chapter 23
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 635 –
drop precedence values for internal processing. Note that priority tags in the
original packet are not modified by this command.
The internal DSCP consists of three bits for per-hop behavior (PHB) which
determines the queue to which a packet is sent; and two bits for drop
precedence (namely color) which is used to control traffic congestion.
The specified mapping applies to all interfaces.
Example
Console(config)#interface ethernet 1/5
Console(config-if)#qos map cos-dscp 0 0 from 0 1
Console(config-if)#
qos map default-drop-
precedence
This command maps the internal per-hop behavior (based on packet priority) to a
default drop precedence for internal processing of untagged packets. Use the no
form to restore the default settings.
Syntax
qos map default-drop-precedence drop-precedence from phb0 ... phb7
no map default-drop-precedence phb0 ... phb7
drop-precedence - Drop precedence used for controlling traffic congestion.
(Range: 0 - Green, 3 - Yellow, 1 - Red)
phb - Per-hop behavior, or the priority used for this router hop. (Range: 0-7)
DEFAULT SETTING.
Command Mode
Interface Configuration (Ethernet)
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
Table 120: Mapping Per-hop Behavior to Drop Precedence
Per-hop Behavior 0 1 2 3 4 5 6 7
Drop Precedence 0 0 0 0 0 0 0 0