Configuring WRR on Catalyst 2950 Switches

This topic describes the commands required to configure WRR on the Catalyst 2950 switch.

Use the wrr-queue bandwidth global configuration command to assign WRR weights to the four CoS priority queues on the Catalyst 2950 switch. Use the no form of this command to disable the WRR scheduler and enable the strict priority scheduler.

For weight 1, weight 2, and weight 3, the range is 1 to 255. The range for weight 4 is 0 to 255. Queues 1, 2, and 3 can be configured for WRR scheduling and queue 4 can be configured for strict priority scheduling. To configure queue 4 as the expedite queue, set weight 4 to 0. When queue 4 is empty, packets from queues 1, 2, and 3 are sent according to the assigned WRR weights.

wrr-queue bandwidth weightl...weight4

Syntax Description

Parameter

Description

weightl. . .weight4

The ratio of weight 1, weight 2, weight 3, and weight 4 determines the weights of the WRR scheduler.

Note In Cisco IOS software releases earlier than Release 12.1(12c)EA1, the range for all queues is 1 to 255.

Note In Cisco IOS software releases earlier than Release 12.1(12c)EA1, the range for all queues is 1 to 255.

In the example for the Catalyst 2950 switch, this configuration has been made:

■ The interface is set to GigabitEthernet 0/12.

■ Queue bandwidth (queue weight) is set to these weights:

— Queue 4: 0 (because this is 0, this is the expedite queue)

■ The CoS map is set to its default settings.

■ CoS is mapped to queues according to the following:

— Queue 4: CoS 5 (voice traffic goes to the expedite queue) Note This is the AutoQoS configuration for the Catalyst 2950.

Was this article helpful?

0 0

Post a comment