6-5
Configure WRR Queuing
Configuration procedure
1) Configuring basic WRR queuing
Follow these steps to configure basic WRR queuing:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface
interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Use either command
Settings in interface view take effect
on the current interface; settings in
port group view take effect on all ports
in the port group.
Configure a basic WRR
queue
qos wrr queue-id group
group-id weight
schedule-value
Required
The default queuing algorithm on an
interface is WRR queuing.
Display WRR queuing
configuration information
on interface(s)
display qos wrr interface
[
interface-type
interface-number
]
Optional
Available in any view
When you use the WRR queue scheduling algorithm, make sure that queues in the same scheduling
group are consecutive.
Configuration example
1) Network
requirements
z
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, and
70 respectively.
z
Assign queue 4, queue 5, queue 6, and queue 7 to WRR group 2, with the weight of 20, 50, 70, and
100 respectively.
2) Configuration
procedure
# Enter system view.
<Sysname> 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
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...