H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – QoS
H3C S7500E Series Ethernet Switches Chapter 4 Congestion Management
4-5
To do… Use the command… Remarks
Enter system view
system-view
Enter
port
view
interface interface-type
interface-number
Enter
port
view or
port
group
view
Enter
port
group
view
port-group { manual
port-group-name |
aggregation agg-id }
Perform either of the two
operations.
The configuration
performed in Ethernet port
view applies to the current
port only. The configuration
performed in port group
view applies to all the ports
in the port group
Adopt the WRR
queue scheduling
on the port
qos wrr
Required
By default, SP queue
scheduling algorithm is
adopted on all the ports.
Configure WRR
queue scheduling
qos wrr queue-id group
group-id weight
schedule-value
Required
4.4.2 Configuration Examples
I. Network requirements
Configure WRR queue scheduling algorithm on Ethernet 2/0/1, and assign weight 1, 2,
4, 6, 8, 10, 12, and 14 to queue 0 through queue 7.
II. Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure the WRR queues on Ethernet2/0/1 port.
[Sysname] interface Ethernet 2/0/1
[Sysname-Ethernet2/0/1] qos wrr
[Sysname-Ethernet2/0/1] qos wrr 0 group 1 weight 1
[Sysname-Ethernet2/0/1] qos wrr 1 group 1 weight 2
[Sysname-Ethernet2/0/1] qos wrr 2 group 1 weight 4
[Sysname-Ethernet2/0/1] qos wrr 3 group 1 weight 6
[Sysname-Ethernet2/0/1] qos wrr 4 group 1 weight 8
[Sysname-Ethernet2/0/1] qos wrr 5 group 1 weight 10
[Sysname-Ethernet2/0/1] qos wrr 6 group 1 weight 12
[Sysname-Ethernet2/0/1] qos wrr 7 group 1 weight 14