Cisco Systems OL-4266-08 manual 42-109

Models: OL-4266-08

1 124
Download 124 pages 34.88 Kb
Page 109
Image 109

Chapter 42 Configuring PFC QoS

Configuring PFC QoS

To allocate bandwidth between standard transmit queues, perform this task:

 

Command

Purpose

Step 1

 

 

Router(config)# interface type1 slot/port

Selects the interface to configure.

Step 2

 

 

Router(config-if)#wrr-queue [bandwidth shape]

Allocates bandwidth between standard transmit queues:

 

percent low_priority_queue_percentage

Enter the bandwidth keyword to configure DWRR or

 

[intermediate_priority_queue_percentages]

 

high_priority_queue_percentage

WRR.

 

Or:

Enter the shape keyword to configure SRR. Use of

 

SRR prevents use of the strict priority queue. To

 

Router(config-if)#wrr-queue [bandwidth shape]

 

configure SRR, any CoS or DSCP values mapped to

 

low_priority_queue_weight

 

a strict-priority queue must be remapped to a

 

[intermediate_priority_queue_weights]

 

standard queue (see the “Mapping QoS Labels to

 

high_priority_queue_weight

 

 

Queues and Drop Thresholds” section on

 

 

page 42-98).

 

 

Percentages should add up to 100. You must enter

 

 

percentages for all the standard transmit queues on

 

 

the port. (Supported with Release 12.2(18)SXF and

 

 

later releases.)

 

 

The valid values for weight range from 1 to 255. You

 

 

must enter weights for all the standard transmit

 

 

queues on the port.

 

Router(config-if)#no wrr-queue [bandwidth

Reverts to the default bandwidth allocation.

 

shape]

 

Step 3

 

 

Router(config-if)# end

Exits configuration mode.

Step 4

 

 

Router# show queueing interface type1 slot/port

Verifies the configuration.

 

 

 

1.type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet

This example shows how to allocate a 3-to-1 bandwidth ratio for Gigabit Ethernet port 1/2:

Router# configure terminal

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

Router(config)# interface gigabitethernet 1/2

Router(config-if)#wrr-queue bandwidth 3 1

Router(config-if)# end

Router#

This example shows how to verify the configuration:

Router# show queueing interface gigabitethernet 1/2 include bandwidth

WRR bandwidth ratios:

3[queue 1]

1[queue 2]

Router#

 

 

 

 

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

 

 

 

 

 

 

OL-4266-08

 

 

42-109

 

 

 

 

 

Page 109
Image 109
Cisco Systems OL-4266-08 manual 42-109