7-7Configuration example1) Network requirementsz Enable WRR queuing on the interface.z Assign queue 0 and queue 1 to the SP group.z Assign queue 2, queue 3, and queue 4 to WRR group 1, with the weight of 1, 5, and 10respectively.2) Configuration procedure# Enter system view. system-view# Configure WRR queuing on Ethernet 1/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 1 weight 1[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 5[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 10Configuring WFQ QueuingWith a WFQ queue configured, an interface has WFQ enabled. Other queues on the interface use thedefault WFQ scheduling value, which varies with router models.Configuration procedureFollow these steps to configure a WFQ queue:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-typeinterface-numberEnterinterfaceview or portgroup view Enter portgroup view port-group manual port-group-nameUse either commandSettings in interface view takeeffect on the current interface.Settings in port group view takeeffect on all ports in the port group.Enable WFQ queuing qos wfqOptionalWhether enabling WFQ isnecessary varies with routermodels.Configure the minimumguaranteed bandwidth for anWFQ queueqos bandwidth queue queue-id minbandwidth-valueRequiredWFQ queuing is only applicable toLayer 2 interfaces.Specify the queuescheduling weight for anWFQqos wfq queue-id weightschedule-valueRequiredWFQ queuing is only applicable toLayer 2 interfaces.Display WFQ queuingconfigurationdisplay qos wfq interface[ interface-type interface-number ]OptionalAvailable in any viewConfiguration example1) Network requirements