R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
56
Configuration procedure
On an interface or PVC without WFQ configured, the qos wfq command can enable WFQ and
configure WFQ-related parameters. If WFQ is configured for the interface or PVC, the qos wfq
command can modify the WFQ-related parameters.
To configure WFQ:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or PVC
view.
• Enter interface view:
interface interface-type interface-number
• Enter PVC view:
a. interface atm interface-number
b. pvc vpi/vci
N/A
3. Configure WFQ.
qos wfq [ dscp | precedence ] [ queue-length
max-queue-length [ queue-number
total-queue-number ] ]
By default, FIFO
applies.
4. Display interface/PVC WFQ
configuration information.
display qos wfq interface [ interface-type
interface-number [ pvc { pvc-name [ vpi/vci ]
| vpi/vci } ] ] [ | { begin | exclude | include }
regular-expression ]
Optional.
Available in any view.
WFQ configuration example
Network requirements
Configure WFQ on Serial 2/0, setting the maximum queue size to 100, and the total number of queues
to 512.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enter interface view.
[Sysname] interface serial 2/0
# Configure WFQ on Serial 2/0, setting the maximum queue size to 100, and the total number of
queues to 512.
[Sysname-Serial2/0] qos wfq queue-length 100 queue-number 512
Configuring CBQ
To configured CBQ:
1. Create a class and define a set of traffic match criteria in class view.
2. Create a traffic behavior, and define a group of QoS features in traffic behavior view.
3. Create a policy, and associate a traffic behavior with a class in policy view.
4. Apply the QoS policy in the interface or PVC view.










