6-5Configure WRR QueuingConfiguration procedure1) Configuring basic WRR queuingFollow these steps to configure basic WRR queuing:To do… Use the command… RemarksEnter system view system-view —Enterinterfaceviewinterface interface-typeinterface-numberEnterinterfaceview or portgroup view Enter portgroup viewport-group manualport-group-nameUse either commandSettings in interface view take effecton the current interface; settings inport group view take effect on all portsin the port group.Configure a basic WRRqueueqos wrr queue-id groupgroup-id weightschedule-valueRequiredThe default queuing algorithm on aninterface is WRR queuing.Display WRR queuingconfiguration informationon interface(s)display qos wrr interface[ interface-typeinterface-number ]OptionalAvailable in any viewWhen you use the WRR queue scheduling algorithm, make sure that queues in the same schedulinggroup are consecutive.Configuration example1) Network requirementsz Enable WRR queuing on the interface.z Assign queue 0, queue 1, queue 2, and queue 3 to WRR group 1, with the weight of 10, 20, 50, and70 respectively.z Assign queue 4, queue 5, queue 6, and queue 7 to WRR group 2, with the weight of 20, 50, 70, and100 respectively.2) Configuration procedure# Enter system view. system-view# Configure WRR queuing on GigabitEthernet 1/0/1.[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 10[Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 20[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 50