47
Step Command
Remarks
5.
Assign a queue to the
WRR group, and configure
a scheduling weight for the
queue.
qos wrr queue-id
group
1
{
byte-count
|
weight
}
schedule-value
By default, all queues on an interface are in
WRR group 1, and the scheduling values of
queues 0 through 7 are 1, 2, 3, 4, 5, 9, 13,
and 15, respectively.
Select
byte-count
or
weight
according to
the WRR type (byte-count or packet-based)
you have enabled.
Configuration example
1.
Network requirements
{
Configure SP+WRR queuing on Ten-GigabitEthernet 1/0/1, and use packet-based WRR.
{
Assign queues 4 through 7 on Ten-GigabitEthernet 1/0/1 to the SP group.
{
Assign queues 0 through 3 on Ten-GigabitEthernet 1/0/1 to WRR group 1, with their weights
as 1, 2, 1, and 3, respectively.
2.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure SP+WRR queuing on Ten-GigabitEthernet 1/0/1.
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr byte-count
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 4 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 5 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 6 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 7 group sp
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 1
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 1 group 1 byte-count 2
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 2 group 1 byte-count 1
[Sysname-Ten-GigabitEthernet1/0/1] qos wrr 3 group 1 byte-count 3
Configuring SP+WFQ queuing
Configuration procedure
To configure SP+WFQ queuing:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Enable byte-count or
packet-based WFQ
queuing.
qos wfq
{
byte-count
|
weight
}
By default, byte-count WRR queuing is
used on an interface.
4.
Assign a queue to the SP
group.
qos wfq queue-id
group
sp
By default, all queues on a
WFQ-enabled interface are in WFQ
group 1.
Summary of Contents for FlexFabric 5940 Series
Page 23: ...17 Figure 3 QoS processing flow ...
Page 84: ...78 Figure 26 MPLS label structure ...
Page 91: ...85 Switch burst mode enable ...