Cisco Systems OL-4266-08 Network Router User Manual


 
42-104
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 42 Configuring PFC QoS
Configuring PFC QoS
When mapping DSCP values to the strict-priority queue, note the following information:
The queue number is always 1.
You can enter up to 8 DSCP values to map to the queue.
You can enter multiple commands to map additional DSCP values to the queue.
This example shows how to map DSCP value 7 to the strict-priority queue on 10 Gigabit Ethernet
port 6/1:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface tengigabitethernet 6/1
Router(config-if)# priority-queue dscp-map 1 7
Router(config-if)# end
Router#
Note The strict priority queue is queue 8 in the output of the show queueing interface command.
This example shows how to verify the configuration:
Router# show queueing interface tengigabitethernet 6/1 | begin queue thresh dscp-map
queue thresh dscp-map
---------------------------------------
<...Output Truncated...>
8 1 7 40 46
<...Output Truncated...>
Router#
Configuring CoS-Based Queue Mapping
These sections describe how to configure CoS-based queue mapping:
Mapping CoS Values to Standard Receive-Queue Thresholds, page 42-104
Mapping CoS Values to Standard Transmit-Queue Thresholds, page 42-105
Mapping CoS Values to Strict-Priority Queues, page 42-106
Mapping CoS Values to Tail-Drop Thresholds on 1q4t/2q2t LAN Ports, page 42-107
Mapping CoS Values to Standard Receive-Queue Thresholds
To map CoS values to the standard receive-queue thresholds, perform this task:
Command Purpose
Step 1
Router(config)# interface type
1
slot/port
1. type = fastethernet, gigabitethernet, or tengigabitethernet
Selects the interface to configure.
Step 2
Router(config-if)# rcv-queue cos-map queue_#
threshold_# cos1 [cos2 [cos3 [cos4 [cos5 [cos6
[cos7 [cos8]]]]]]]
Maps CoS values to the standard receive queue
thresholds.
Router(config-if)# no rcv-queue cos-map
Reverts to the default mapping.
Step 3
Router(config-if)# end
Exits configuration mode.
Step 4
Router# show queueing interface type
1
slot/port
Verifies the configuration.