Configuration Examples; Configuring Sp+Wrr Queues; Configuration Procedure - H3C S5120-SI Configuration Manual

Hide thumbs Also See for S5120-SI:
Table of Contents

Advertisement

To do...
Display WRR queuing
configuration information
NOTE:
To guarantee that WRR correctly schedules queues according to their weights, make sure that the queue
IDs in each WRR group are contiguous.

Configuration examples

Network requirements
1.
Enable WRR queuing on the interface GigabitEthernet 1/0/1.
Assign queues 0 and 1 to the WRR group 1, with their weights being 10 and 20.
Assign queues 2 and 3 to the WRR group 2, with their weights being 30 and 50.

Configuration procedure

2.
# 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 2 weight 30
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 2 weight 50

Configuring SP+WRR queues

Configuration procedure
Follow these steps to configure SP + WRR queues:
To do...
Enter system view
Enter interface
view or port
group view
Configure SP queue scheduling
Configure the scheduling weight
for a queue
Use the command...
display qos wrr interface
[ interface-type interface-number ] [ |
{ begin | exclude | include }
regular-expression ]
Use the command...
system-view
Enter interface
interface interface-type
view
interface-number
Enter port group
port-group manual
view
port-group-name
qos wrr queue-id group sp
qos wrr queue-id group
group-id weight schedule-value
Remarks
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.
Required
Required
40
Remarks
Optional
Available in any view.

Advertisement

Table of Contents
loading

Table of Contents