Cisco Systems OL-4266-08 manual Configures the receive- and transmit-queue tail-drop, 42-97

Models: OL-4266-08

1 124
Download 124 pages 34.88 Kb
Page 97
Image 97

Chapter 42 Configuring PFC QoS

Configuring PFC QoS

To configure tail-drop threshold percentages for the standard receive and transmit queues on 1q4t/2q2t LAN ports, perform this task:

 

Command

Purpose

Step 1

 

 

Router(config)# interface {ethernet

Selects the interface to configure.

 

fastethernet gigabitethernet} slot/port

 

Step 2

 

 

Router(config-if)#wrr-queue threshold queue_id

Configures the receive- and transmit-queue tail-drop

 

thr1% thr2%

thresholds.

 

Router(config-if)#no wrr-queue threshold

Reverts to the default receive- and transmit-queue

 

[queue_id]

tail-drop thresholds.

Step 3

 

 

Router(config-if)# end

Exits configuration mode.

Step 4

 

 

Router# show queueing interface {ethernet

Verifies the configuration.

 

fastethernet gigabitethernet} slot/port

 

 

 

 

When configuring the receive- and transmit-queue tail-drop thresholds, note the following information:

You must use the transmit queue and threshold numbers.

The queue_id is 1 for the standard low-priority queue and 2 for the standard high-priority queue.

The percentages range from 1 to 100. A value of 10 indicates a threshold when the buffer is 10-percent full.

Always set threshold 2 to 100 percent.

Ethernet and Fast Ethernet 1q4t ports do not support receive-queue tail-drop thresholds.

This example shows how to configure receive queue 1/threshold 1 and transmit queue 1/threshold 1 for Gigabit Ethernet port 2/1:

Router# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)# interface gigabitethernet 2/1

Router(config-if)#wrr-queue threshold 1 60 100

Router(config-if)# end

Router#

This example shows how to verify the configuration:

Router# show queueing interface gigabitethernet 2/1

Transmit queues [type = 2q2t]:

<...Output Truncated...>

queue tail-drop-thresholds

--------------------------

160[1] 100[2]

240[1] 100[2]

<...Output Truncated...>

Receive queues [type = 1q4t]:

<...Output Truncated...>

 

queue tail-drop-thresholds

 

 

 

 

 

 

--------------------------

 

 

 

 

 

1

60[1]

100[2]

40[3]

100[4]

 

 

 

<...

Output Truncated...

>

 

 

 

 

 

Router#

 

 

 

 

 

 

 

 

 

 

 

 

Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

OL-4266-08

 

 

 

 

 

 

42-97

 

 

 

 

 

 

 

 

 

Page 97
Image 97
Cisco Systems OL-4266-08 manual Configures the receive- and transmit-queue tail-drop, Tail-drop thresholds, 42-97