51Configuration example1. Network requirements• Enable WFQ on GigabitEthernet 1/0/1, and set the weights of queues 0 through 7 to 1, 2, 4, 6,8, 10, 12, and 14, respectively.• Set the minimum guaranteed bandwidth of queue 0 to 128 kbps.2. Configuration procedure# Enter system view. system-view# Configure WFQ queues on GigabitEthernet 1/0/1.[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos wfq[Sysname-GigabitEthernet1/0/1] qos wfq 0 weight 1[Sysname-GigabitEthernet1/0/1] qos wfq 1 weight 2[Sysname-GigabitEthernet1/0/1] qos wfq 2 weight 4[Sysname-GigabitEthernet1/0/1] qos wfq 3 weight 6[Sysname-GigabitEthernet1/0/1] qos wfq 4 weight 8[Sysname-GigabitEthernet1/0/1] qos wfq 5 weight 10[Sysname-GigabitEthernet1/0/1] qos wfq 6 weight 12[Sysname-GigabitEthernet1/0/1] qos wfq 7 weight 14# Set the minimum guaranteed bandwidth of queue 0 to 128 kbps.[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 0 min 128Configuring SP+WRR queuesConfiguration procedureFollow these steps to configure SP + WRR queues:To do… Use the command… RemarksEnter system view system-view —Enter interfaceviewinterface interface-typeinterface-numberEnter interfaceview or portgroup view Enter port groupviewport-group manualport-group-nameUse either commandSettings in interface view take effect onthe current interface; settings in portgroup view take effect on all ports in theport group.Enable byte-count orpacket-based WRR queuing qos wrr [ byte-count | weight ]OptionalBy default, byte-count WRR queuing isenabled.Configure SP queue scheduling qos wrr queue-id group spRequiredBy default, all the ports use the WRRqueue scheduling algorithm.