Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual
Page 61

52
•
Queue 4, queue 5, and queue 6 are in WRR group 1 and scheduled according to their weights,
which are 1, 5, and 10. When queue 7 is empty, WRR group 0 is scheduled.
•
Queue 1, queue 2, and queue 3 are in WRR group 2 and scheduled according to their weights,
which are 1, 10, and 20. When queue 4, queue 5, queue 6, and queue 7 are all empty, WRR
group 1 is scheduled.
•
Queue 0 is of the lowest priority. Queue 0 is scheduled when all the other queues are empty.
Configuration procedure
# Enter system view.
# Create queue scheduling profile qm1.
[Sysname] qos qmprofile qm1
[Sysname-qmprofile-qm1]
# Configure queue 7 to use SP queuing.
[Sysname-qmprofile-qm1] queue 7 sp
# Assign queue 4, queue 5, and queue 6 to WRR group 0, with the weight of 1, 5, and 10.
[Sysname-qmprofile-qm1] queue 4 wrr group 1 weight 1
[Sysname-qmprofile-qm1] queue 5 wrr group 1 weight 5
[Sysname-qmprofile-qm1] queue 6 wrr group 1 weight 10
# Assign queue 1, queue 2, and queue 3 to WRR group 1, with the weight of 1, 10, and 20.
[Sysname-qmprofile-qm1] queue 1 wrr group 2 weight 1
[Sysname-qmprofile-qm1] queue 2 wrr group 2 weight 10
[Sysname-qmprofile-qm1] queue 3 wrr group 2 weight 20
# Configure queue 0 to use SP queuing.
[Sysname-qmprofile-qm1] queue 0 sp
[Sysname-qmprofile-qm1] quit
# Apply queue scheduling profile qm1 to interface GigabitEthernet 3/0/1.
[Sysname] interface gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] qos apply qmprofile qm1
After the configuration is completed, interface GigabitEthernet 3/0/1 performs queue scheduling as
specified in queue scheduling profile qm1.