42-96
Cisco7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
OL-4266-08
Chapter42 Con figuring PFC QoS
Configuring PFCQoS
This example shows how to configure the low-priority transmit queue high-WRED-drop thresholds for
Gigabit Ethernet port 1/1:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# interface gigabitethernet 1/1
Router(config-if)# wrr-queue random-detect max-threshold 1 70 70
Router(config-if)# end
Router#
This example shows how to verify the configuration:
Router# show queueing interface gigabitethernet 1/1 | begin Transmit queues
Transmit queues [type = 1p2q2t]:
Queue Id Scheduling Num of thresholds
-----------------------------------------
1 WRR low 2
2 WRR high 2
3 Priority 1
queue random-detect-max-thresholds
----------------------------------
1 40[1] 70[2]
2 40[1] 70[2]
<...Output Truncated...>
Router#
Configuring 1q4t/2q2t Tail-Drop Threshold Percentages
On 1q4t/2q2t ports, the receive- and transmit-queue 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
Step4 Router(config-if)# wrr-queue random-detect
max-threshold queue_id thr1% [thr2% thr3% thr4%
thr5% thr6% thr7% thr8%]
Configures the high WRED-drop thresholds.
Router(config-if)# no wrr-queue random-detect
max-threshold [queue_id]
Reverts to the default high WRED-drop thresholds.
Step5 Router(config-if)# wrr-queue random-detect
queue_id
Enables WRED-drop thresholds.
Router(config-if)# no wrr-queue random-detect
[queue_id]
Enables tail-drop thresholds.
Step6 Router(config-if)# end Exits configuration mode.
Step7 Router# show queueing interface type1 slot/port Verifies the configuration.
1. type = fastethernet, gigabitethernet, or tengigabitethernet
Command Purpose