72
Step
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.
5.
Configure the minimum
guaranteed bandwidth for a
WFQ queue.
qos bandwidth queue
queue-id
min
bandwidth-value
Optional.
WFQ queuing is only applicable to
Layer 2 interfaces.
6.
Display WFQ queuing
configuration.
display qos wfq interface
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
Available in any view.
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:
•
•