
RackSwitch G8000 Application Guide
112
Chapter 6: Quality of Service BMD00041, November 2008
802.1p configuration example
1. Configure a port’s default 802.1p priority value to 2.
2. Map the 802.1p priority value to a COS queue and set the COS queue scheduling weight.
Queuing and Scheduling
The G8000 has up to eight output Class of Service (COS) queues per port, into which each
packet is placed. Each packet’s 802.1p priority determines its COS queue.
Each COS queue uses Weighted Round Robin (WRR) scheduling, with user configurable
weight from 1 to 15. The weight of 0 (zero) indicates strict priority, which might starve the low
priority queues.
You can configure the following attributes for COS queues:
Map 802.1p priority value to a COS queue, as follows:
Define the number of COS queues, as follows:
Define the scheduling weight of each COS queue, as follows:
RS G8000 (config)# interface port 1
RS G8000 (config-if)# dot1p 2
RS G8000 (config-if)# exit
RS G8000 (config)# qos transmit-queue mapping 1 0
RS G8000 (config)# qos transmit-queue weight-cos 10
RS G8000 (config)# qos transmit-queue mapping <802.1p priority
value (0-7)> <COS queue (0-7)>
RS G8000 (config)# qos transmit-queue number-cos <1-8>
RS G8000 (config)# qos transmit-queue weight-cos
<COS queue (0-7)> <scheduling weight (0-15)>