Configuring Sp+Wrr Queues; Configuration Example - H3C S7500E Series Configuration Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wfq
[Sysname-GigabitEthernet2/0/1] qos wfq 1 weight 1
[Sysname-GigabitEthernet2/0/1] qos wfq 3 weight 5
[Sysname-GigabitEthernet2/0/1] qos wfq 4 weight 10
[Sysname-GigabitEthernet2/0/1] qos wfq 5 weight 15
[Sysname-GigabitEthernet2/0/1] qos wfq 6 weight 10
# Set the minimum guaranteed bandwidth of queue 1 to 128 kbps.
[Sysname-GigabitEthernet2/0/1] qos bandwidth queue 1 min 128

Configuring SP+WRR Queues

Configuration Procedure
Follow these steps to configure SP + WRR queues:
To do...
Enter system view
Enter interface
Enter
view
interface
view or port
Enter port
group view
group view
Enable the WRR queue
scheduling on the port
Configure SP queue
scheduling
Configure WRR queue
scheduling

Configuration Example

Network requirements
Configure to adopt SP+WRR queue scheduling algorithm on GigabitEthernet2/0/1.
Configure queue 0, queue 1, queue 2 and queue 3 on GigabitEthernet2/0/1 to be in SP queue
scheduling group.
Configure queue 4, queue 5, queue 6 and queue 7 on GigabitEthernet2/0/1 to be in WRR queue
scheduling group, with the weight being 2, 4, 6 and 8 respectively.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet2/0/1.
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos wrr
qos wrr queue-id group sp
qos wrr queue-id group
group-id byte-count
schedule-value
6-8
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
The default queuing algorithm on an
interface is SP queuing.
Required
Required

Advertisement

Table of Contents
loading

Table of Contents