51Step Command Remarks2. Enter interface view or portgroup view.• Enter interface view:interfaceinterface-typeinterface-number• Enter port groupview:port-group manualport-group-nameUse either command.Settings in interface view take effect on thecurrent interface. Settings in port group viewtake effect on all ports in the port group.3. Enable WRR queuing. qos wrr Optional.By default, all ports use WRR queuing.4. Configure SP queuescheduling.qos wrr queue-id groupspBy default, all the queues of a WRR-enabledport use the WRR queue scheduling algorithm.5. Assign a queue to a WRRgroup and configure thescheduling weight for thequeue.qos wrr queue-id groupgroup-id weightschedule-valueBy default, on a WRR-enabled port, theweights of queues 0 through 7 are 1, 2, 3, 4,5, 9, 13, and 15.Configuration exampleNetwork requirements• Configure SP+WRR queue scheduling algorithm on GigabitEthernet 1/0/1, and use WRRqueuing.• Configure queue 0, queue 1, queue 2, and queue 3 on GigabitEthernet 1/0/1 to be in SP queuescheduling group.• Configure queue 4, queue 5, queue 6, and queue 7 on GigabitEthernet 1/0/1 to use WRRqueuing, with the weight 2, 4, 6, and 8, respectively.Configuration procedure# Enter system view. system-view# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1.[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos wrr[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp[Sysname-GigabitEthernet1/0/1] qos wrr 1 group sp[Sysname-GigabitEthernet1/0/1] qos wrr 2 group sp[Sysname-GigabitEthernet1/0/1] qos wrr 3 group sp[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 2[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 4[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 6[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 8