CLI Reference Guide-R04

Table Of Contents
Chapter 23
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 633 –
qos map phb-queue 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)
DEFAULT SETTING.
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.
Example
Console(config)#interface ethernet 1/5
Console(config-if)#qos map phb-queue 0 from 1 2 3
Console(config-if)#
show qos map
dscp-mutation
Shows ingress DSCP to internal DSCP map PE
show qos map ip-port-dscp Shows destination TCP/UDP port to internal DSCP map PE
show qos map ip-prec-dscp Shows ingress IP Precedence to internal DSCP map PE
show qos map phb-queue Shows internal per-hop behavior to hardware queue map PE
show qos map trust-mode Shows the QoS mapping mode PE
* The default settings used for mapping priority values to internal DSCP values and back to the
hardware queues are designed to optimize priority services for the majority of network
applications. It should not be necessary to modify any of the default settings unless a queuing
problem occurs with a particular application.
Table 117: Priority Commands (Layer 3 and 4)
Command Function Mode
Table 118: Mapping Internal Per-hop Behavior to Hardware Queues
Per-hop Behavior 0 1 2 3 4 5 6 7
Hardware Queues 2 0 1 3 4 5 6 7