3com S7906E 安装指导
5-7
To do…
Use the command…
Remarks
group view
Enter port
group view
group view
port-group manual
port-group-name
port-group-name
settings in port group view take
effect on all ports in the port
group.
effect on all ports in the port
group.
Enable WFQ queuing
qos wfq
Required
The default queuing algorithm
on an interface is SP queuing.
on an interface is SP queuing.
Configure the minimum
guaranteed bandwidth for
an WFQ queue
guaranteed bandwidth for
an WFQ queue
qos bandwidth queue queue-id
min bandwidth-value
min bandwidth-value
Required
64 kbps by default
Specify the queue
scheduling weight for an
WFQ queue
scheduling weight for an
WFQ queue
qos wfq queue-id weight
schedule-value
schedule-value
Required
1 by default
Display WFQ queuing
configuration
configuration
display qos wfq interface
[ interface-type interface-number ]
[ 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.
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] qos wfq
[Sysname-GigabitEthernet2/0/1] qos wfq 1 weight 1
[Sysname-GigabitEthernet2/0/1] qos wfq 3 weight 5
[Sysname-GigabitEthernet2/0/1] qos wfq 4 weight 10
[Sysname-GigabitEthernet2/0/1] qos wfq 5 weight 15
[Sysname-GigabitEthernet2/0/1] qos wfq 6 weight 10
# Set the minimum guaranteed bandwidth of queue 1 to 128 kbps.
[Sysname-GigabitEthernet2/0/1] qos bandwidth queue 1 min 128