R3303-HP HSR6800 Routers ACL and QoS Configuration Guide

76
5. Assign a queue to the
SP group.
qos wrr queue-id group sp
Optional.
Queues in the SP group are scheduled by
using the SP mechanism.
6. Display WRR queuing
configuration
information.
display qos wrr interface
[ interface-type
interface-number ] [ | { begin |
exclude | include }
regular-expression ]
Optional.
Available in any view.
Configuration example
1. Network requirements
{ Enable WRR queuing on interface GigabitEthernet 1/0/1.
{ Assign queue 0 and queue 1 to the SP group.
{ Assign queue 2, queue 3, and queue 4 to WRR group 1, with the weight of 1, 5, and 10,
respectively.
{ Assign queue 5 and queue 6 to WRR group 2, with the weight of 20 and 10, respectively.
2. Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure WRR queuing on interface GigabitEthernet 1/0/1.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 1 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 1
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 5
[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 10
Configuring WFQ queuing
With a WFQ queue configured, an interface has WFQ enabled. Other queues on the interface use the
default WFQ scheduling value, which varies with device models.
Configuration procedure
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or port
group view.
Enter interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Use one of the commands.
Settings in interface view take effect on
the current interface. Settings in port
group view take effect on all ports in the
port group.
3. Enable WFQ queuing.
qos wfq N/A
4. Configure a basic WFQ
queue.
qos wfq queue-id weight
schedule-value
WFQ queuing is only applicable to
Layer 2 interfaces.