Configuration Guide QoS Configuration
Ruijie(config)#{wrr-queue |
drr-queue} bandwidth
weight1...weightn
weight1...weightn are the weight values specified
for the output queues. For the count and value
range, see the default QoS settings
Ruijie(config)# no {wrr-queue |
drr-queue} bandwidth
The no option restores the default weight value.
The example below sets the wrr scheduling weight as 1:2:3:4:5:6:7:8
Ruijie# configure terminal
Ruijie(config)# wrr-queue bandwidth 1 2 3 4 5 6 7 8
Ruijie(config)# end
Ruijie# show mls qos queueing
Cos-queue map:
cos qid
--- ---
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 8
wrr bandwidth weights:
qid weights
--- -------
0 1
1 2
2 3
3 4
4 5
5 6
6 7
7 8
Ruijie(config)#
Configuring Cos-Map
You may set cos-map to change which queue to select for the messages in output. The
default value of cos-map is provided in the default QoS configuration section.
Ruijie# configure terminal
Enter the configuration mode
Ruijie(config)#priority-queue
Cos-Map qid cos0 [cos1 [cos2 [cos3
[cos4 [cos5 [cos6 [cos7]]]]]]]
qid is the queue id; cos0..cos7 are the CoS
values associated with that queue.
Ruijie(config)#no priority-queue
cos-map
Restore default of cos-map