qos map phb-queue
◆
Two QoS domains can have different DSCP definitions, so the DSCP-to-PHB/
Drop Precedence mutation map can be used to modify one set of DSCP values
to match the definition of another domain. The mutation map should be
applied at the receiving port (ingress mutation) at the boundary of a QoS
administrative domain.
◆
Random Early Detection starts dropping yellow and red packets when the
buffer fills up to 0x60 packets, and then starts dropping any packets regardless
of color when the buffer fills up to 0x80 packets.
Example
This example changes the priority for all packets entering port 1 which contain a
DSCP value of 1 to a per-hop behavior of 3 and a drop precedence of 1. Referring to
Table
97, note that the DSCP value for these packets is now set to 25 (3x2
passed on to the egress interface.
Console(config)#qos map dscp-mutation 3 1 from 1
Console(config)#
This command determines the hardware output queues to use based on the
internal per-hop behavior value. Use the no form to restore the default settings.
Syntax
qos map phb-queue queue-id from phb0 ... phb7
no map phb-queue phb0 ... phb7
phb - Per-hop behavior, or the priority used for this router hop. (Range: 0-7)
queue-id - The ID of the priority queue. (Range: 0-7, where 7 is the highest
priority queue)
D
S
EFAULT
ETTING
Table 98: Mapping Internal Per-hop Behavior to Hardware Queues
Per-hop Behavior
0
Hardware Queues
1
Command Mode
Global Configuration
Command Usage
◆
Enter a queue identifier, followed by the keyword "from" and then up to eight
internal per-hop behavior values separated by spaces.
◆
Egress packets are placed into the hardware queues according to the mapping
defined by this command.
Chapter 18
1
2
3
0
0
1
– 437 –
| Class of Service Commands
Priority Commands (Layer 3 and 4)
3
+1) and
4
5
6
2
2
3
7
3