Step
1.
Enter system view.
2.
Enter interface view or port
group view.
3.
Enable WFQ queuing.
4.
Configure a basic WFQ
queue.
5.
Configure the minimum
guaranteed bandwidth for a
WFQ queue.
6.
Display WFQ queuing
configuration.
Configuration example
1.
Network requirements
Configure WFQ queues on an interface and assign the scheduling weight 1, 5, 10, 20, and 10 to
queue 1, queue 3, queue 4, queue 5, and queue 6, respectively.
2.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure WFQ queues on GigabitEthernet 1/0/1.
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wfq
[Sysname-GigabitEthernet1/0/1] qos wfq 1 weight 1
[Sysname-GigabitEthernet1/0/1] qos wfq 3 weight 5
[Sysname-GigabitEthernet1/0/1] qos wfq 4 weight 10
[Sysname-GigabitEthernet1/0/1] qos wfq 5 weight 20
[Sysname-GigabitEthernet1/0/1] qos wfq 6 weight 10
Configuring CBQ
CBQ is implemented through QoS policies.
When matching a packet against a QoS policy, the system:
•
Matches the packet against class-behavior associations in the order they are configured.
•
Matches the packet against the criteria in each class in the order they are configured.
CBQ configuration task list
Complete the following tasks to configure CBQ:
•
Defining a class
•
Defining a traffic behavior
Command
system-view
•
Enter interface view:
interface interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
qos wfq
qos wfq queue-id weight
schedule-value
qos bandwidth queue
queue-id min
bandwidth-value
display qos wfq interface
[ interface-type
interface-number ] [ | { begin |
exclude | include }
regular-expression ]
72
Remarks
N/A
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.
N/A
WFQ queuing is only applicable to
Layer 2 interfaces.
Optional.
WFQ queuing is only applicable to
Layer 2 interfaces.
Optional.
Available in any view.