Queue scheduling profile configuration example
Network requirements
Configure a queue scheduling profile to meet the following requirements on :
Queue 7 has the highest priority, and its packets are sent preferentially.
Queue 0 through queue 6 belong to the WRR group, with their packet count weights as 2, 1, 2, 4, 6, 8, and 10, respectively. When queue 7 is empty, the WRR group is scheduled.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Create a queue scheduling profile named qm1.
[Sysname] qos qmprofile qm1 [Sysname-qmprofile-qm1]
# Configure queue 7 to use SP queuing.
[Sysname-qmprofile-qm1] queue 7 sp
# Assign queue 0 through queue 6 to the WRR group, with their packet count weights as 2, 1, 2, 4, 6, 8, and 10, respectively.
[Sysname-qmprofile-qm1] queue 0 wrr group 1 weight 2 [Sysname-qmprofile-qm1] queue 1 wrr group 1 weight 1 [Sysname-qmprofile-qm1] queue 2 wrr group 1 weight 2 [Sysname-qmprofile-qm1] queue 3 wrr group 1 weight 4 [Sysname-qmprofile-qm1] queue 4 wrr group 1 weight 6 [Sysname-qmprofile-qm1] queue 5 wrr group 1 weight 8 [Sysname-qmprofile-qm1] queue 6 wrr group 1 weight 10 [Sysname-qmprofile-qm1] quit
# Apply queue scheduling profile qm1 to .
[Sysname] interface [Sysname-] qos apply qmprofile qm1
After the configuration is completed, performs queue scheduling as specified in queue scheduling profile qm1.