52Configuring SP+WFQ queuingConfiguration procedureTo configure SP + WFQ queuing:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface view or portgroup view.• Enter interface view:interface interface-typeinterface-number• Enter port group view:port-group manualport-group-nameUse either command.Settings in interface view take effect onthe current interface. Settings in portgroup view take effect on all ports in theport group.3. Enable byte-count orpacket-based WFQqueuing.qos wfq [ byte-count | weight ] By default, WRR queuing is enabled.4. Configure SP queuescheduling. qos wfq queue-id group spBy default, all the queues of aWFQ-enabled port use are in the WFQgroup.5. Configure the schedulingweight for a queue.qos wfq queue-id groupgroup-id { weight |byte-count } schedule-valueBy default, the scheduling weight is 1 foreach queue of a WFQ-enabled port.6. Configure the minimumguaranteed bandwidth for aqueue.qos bandwidth queue queue-idmin bandwidth-valueOptional.64 kbps for each queue by default.NOTE:To guarantee successful WFQ configuration, make sure that the scheduling weight type (byte-count orpacket-based) is the same as the WFQ queuing type (byte-count or packet-based) when you configure thescheduling weight for a WFQ queue.Configuration exampleNetwork requirements• Configure SP+WFQ queuing on GigabitEthernet 1/0/1, and use packet-based WFQ schedulingweights.• 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 WFQqueuing, with the weight 2, 4, 6, and 8 and the minimum guaranteed bandwidth 128 kbps.Configuration procedure# Enter system view. system-view# Enable the SP+WFQ queue scheduling algorithm on GigabitEthernet1/0/1.