41-108
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter 41 Configuring PFC QoS
Configuring PFC QoS
Mapping CoS Values to Tail-Drop Thresholds on 1q4t/2q2t LAN Ports
Note
Enter the
show queueing interface
{
ethernet
|
fastethernet
|
gigabitethernet
|
tengigabitethernet
}
slot/port
|
include type
command to see the queue structure of a port.
On
1q4t
/
2q2t
LAN ports, the receive- and transmit-queue tail-drop thresholds have this relationship:
•
Receive queue 1 (standard) threshold 1 = transmit queue 1 (standard low priority) threshold 1
•
Receive queue 1 (standard) threshold 2 = transmit queue 1 (standard low priority) threshold 2
•
Receive queue 1 (standard) threshold 3 = transmit queue 2 (standard high priority) threshold 1
•
Receive queue 1 (standard) threshold 4 = transmit queue 2 (standard high priority) threshold 2
To map CoS values to tail-drop thresholds, perform this task:
When mapping CoS values to a tail-drop threshold, note the following information:
•
Use the transmit queue and threshold numbers.
•
Queue 1 is the low-priority standard transmit queue.
•
Queue 2 is the high-priority standard transmit queue.
•
There are two thresholds in each queue.
•
Enter up to 8 CoS values to map to the threshold.
This example shows how to map the CoS values 0 and 1 to standard transmit queue 1/threshold 1 for Fast
Ethernet port 5/36:
Router#
configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
interface fastethernet 5/36
Router(config-if)#
wrr-queue cos-map 1 1 0 1
Router(config-if)#
end
Router#
This example shows how to verify the configuration:
Router#
show queueing interface fastethernet 5/36 | begin queue thresh cos-map
queue thresh cos-map
---------------------------------------
1 1 0 1
1 2 2 3
2 1 4 5
2 2 6 7
<...Output Truncated...>
Router#
Command
Purpose
Step 1
Router(config)#
interface
type
1
slot/port
1.
type
=
ethernet
,
fastethernet
,
gigabitethernet
, or
tengigabitethernet
Selects the interface to configure.
Step 2
Router(config-if)#
wrr-queue cos-map
transmit_queue_# threshold_# cos1
[
cos2
[
cos3
[
cos4
[
cos5
[
cos6
[
cos7
[
cos8
]]]]]]]
Maps CoS values to a tail-drop threshold.
Step 3
Router(config-if)#
no wrr-queue cos-map
Reverts to the default mapping.
Step 4
Router(config-if)#
end
Exits configuration mode.
Step 5
Router#
show queueing interface
type
1
slot/port
Verifies the configuration.