R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

167
Examples
# Enable FRTS adaptation to regulate the traffic of the FR packets with the BECN flag bit 1 and regulate
20% of the total traffic every time.
<Sysname> system-view
[Sysname] fr class test1
[Sysname-fr-class-test1] traffic-shaping adaptation becn 20
Related commands
fr traffic-shaping
cir allow
cir
wfq
Use wfq to apply WFQ to the FR PVC.
Use undo wfq to restore the default queuing (FIFO queuing) on the PVC.
Syntax
wfq [ congestive-discard-threshold [ dynamic-queues ] ]
undo wfq
Default
PVCs use FIFO queuing.
Views
FR class view
Default command level
2: System level
Parameters
congestive-discard-threshold: Maximum number of packets that a WFQ queue can hold. If the number of
packets exceeds the threshold, the newly arriving packets are dropped. The value range for this
argument is 1 to 1024, and the default is 64.
dynamic-queues: Total number of WFQ queues, which can be 16, 32, 64, 128, 256, 512, 1024, 2048,
or 4096. The default value of this argument is 256.
Examples
# Apply WFQ to the FR class test1. Configure WFQ to provide 512 queues, each of which can hold up
to 128 packets.
<Sysname> system-view
[Sysname] fr class test1
[Sysname-fr-class-test1] wfq 128 512
Related commands
cq
pq
fr pvc-pq