6-7
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter
interface
view
interface
interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual port-group-name
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.
Enable WFQ queuing
qos wfq
Required
The default queuing algorithm on
an interface is SP queuing.
Configure the minimum
guaranteed bandwidth for
an WFQ queue
qos bandwidth queue queue-id min
bandwidth-value
Required
64 kbps by default
Specify the queue
scheduling weight for an
WFQ queue
qos wfq queue-id
weight
schedule-value
Required
1 by default
Display WFQ queuing
configuration
display qos wfq interface
[
interface-type interface-number
]
Optional
Available in any view
The support of different cards for the minimum guaranteed bandwidth and scheduling weight
configuration for WFQ queues varies as follows:
z
The SC, SD, and EB cards support both minimum guaranteed bandwidth and scheduling weight
configurations.
z
The EA cards support both configurations too, but the scheduling weight for each queue can only
be 1.
z
The SA cards support only the scheduling weight configuration.
Configuration example
1) Network
requirements
z
Configure the queues on port GigabitEthernet2/0/1 as WFQ queues and sets the scheduling
weights of queues 1, 3, 4, 5, and 6 to 1, 5, 10, 15, and 10 respectively.
z
Set the minimum guaranteed bandwidth of queue 1 to 128 kbps.
2) Configuration
procedure
# Enter system view.
<Sysname> system-view
# Configure WFQ queues on GigabitEthernet 2/0/1.