Allocating Bandwidth Between Lan-Port Transmit Queues; Setting The Receive-Queue Size Ratio On A 1P1Q0T Or 1P1Q8T Ingress Lan Ports - Cisco 6500 Series Software Configuration Manual

Hide thumbs Also See for 6500 Series:
Table of Contents

Advertisement

Configuring PFC QoS

Allocating Bandwidth Between LAN-Port Transmit Queues

The switch transmits frames from one standard queue at a time using a WRR algorithm. WRR uses the
ratio between queue weight values to decide how much to transmit from one queue before switching to
the other. The more the ratio favors a queue, the more transmit bandwidth is allocated to it.
To allocate bandwidth for an egress LAN port, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# wrr-queue bandwidth
low_priority_queue_weight
[medium_priority_queue_weight]
high_priority_queue_weight
Router(config-if)# no wrr-queue bandwidth
Step 3
Router(config-if)# end
Step 4
Router# show queueing interface type
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.
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:
Router#

Setting the Receive-Queue Size Ratio on a 1p1q0t or 1p1q8t Ingress LAN Ports

To set the size ratio between the strict-priority and standard receive queues on a 1p1q0t or 1p1q8t
ingress LAN ports, perform this task:
Command
Step 1
Router(config)# interface {fastethernet |
tengigabitethernet} slot/port
Step 2
Router(config-if)# rcv-queue queue-limit
standard_queue_weight
strict_priority_queue_weight
Router(config-if)# no rcv-queue queue-limit
Step 3
Router(config-if)# end
Step 4
Router# show queueing interface {fastethernet |
tengigabitethernet} slot/port
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
31-64
Purpose
1
Selects the interface to configure.
slot/port
Allocates bandwidth between standard transmit queues.
The valid values for weight range from 1 to 255.
Reverts to the default bandwidth allocation.
Exits configuration mode.
1
Verifies the configuration.
slot/port
3[queue 1]
1[queue 2]
Purpose
Selects the interface to configure.
Sets the size ratio between the strict-priority and standard
receive queues.
Reverts to the default the size ratio.
Exits configuration mode.
Verifies the configuration.
Chapter 31
End with CNTL/Z.
Configuring PFC QoS
78-14099-04

Advertisement

Table of Contents
loading

Table of Contents