5-5Configuration ExampleNetwork requirementsConfigure GigabitEthernet1/0/1 to adopt SP queue scheduling algorithm.Configuration procedure# Enter system view. system-view# Configure an SP queue for GigabitEthernet1/0/1 port.[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos spConfiguring a WRR QueueConfiguration ProcedureFollow these steps to configure WRR queues:To do… Use the command… RemarksEnter system view system-view —Enter portviewinterface interface-typeinterface-numberEnter portview orport groupviewEnter portgroupviewport-group manualport-group-namePerform either of the two operations.The configuration performed in Ethernetinterface view applies to the current portonly. The configuration performed in portgroup view applies to all the ports in theport groupEnable WRR on theport qos wrr OptionalEnabled by default.Configure WRR queueschedulingqos wrr queue-id groupgroup-id weightschedule-valueRequiredBy default, all the ports adopt the WRRqueue scheduling algorithm, with theweight values assigned to queue 0 throughqueue 7 being 1, 2, 3, 4, 5, 9, 13, and 15.Configuration ExampleNetwork requirementsConfigure WRR queue scheduling algorithm on GigabitEthernet1/0/1, and assign weight 1, 2, 4, 6, 8, 10,12, and 14 to queue 0 through queue 7.Configuration procedure# Enter system view. system-view# Configure the WRR queues on GigabitEthernet1/0/1 port.[Sysname] interface GigabitEthernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos wrr[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 1