Configuration Example; Configuring A Wrr Queue; Configuration Procedure - H3C S5120-EI Series Operation Manual

Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuration Example

Network requirements
Configure GigabitEthernet1/0/1 to adopt SP queue scheduling algorithm.

Configuration procedure

# Enter system view.
<Sysname> system-view
# Configure an SP queue for GigabitEthernet1/0/1 port.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos sp

Configuring a WRR Queue

Configuration Procedure
Follow these steps to configure WRR queues:
To do...
Enter system view
Enter port
view
Enter port
view or
Enter port
port group
group
view
view
Enable WRR on the
port
Configure WRR queue
scheduling
Configuration Example
Network requirements
Configure 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.
<Sysname> 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
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos wrr
qos wrr queue-id group
group-id weight
schedule-value
5-5
Remarks
Perform either of the two operations.
The configuration performed in Ethernet
interface view applies to the current port
only. The configuration performed in port
group view applies to all the ports in the
port group
Optional
Enabled by default.
Required
By default, all the ports adopt the WRR
queue scheduling algorithm, with the
weight values assigned to queue 0 through
queue 7 being 1, 2, 3, 4, 5, 9, 13, and 15.

Advertisement

Chapters

Table of Contents
loading

Table of Contents