Configuring FR PVC queuing

With FRTS enabled on an FR interface, each FR PVC of the interface is configured with an independent queuing mechanism.

Configuration restrictions and guidelines

Configuring FR PVC queuing

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter FR class view.

fr class class-name

N/A

3. Configure FIFO queue length for the FR PVC.

fifo queue-length queue-length

Optional.

The default setting is 40.

4. Configure PQ for the FR PVC.

pq pql pql-index

Optional.

5. Configure CQ for the FR PVC.

cq cql cql-index

Optional.

6. Configure WFQ for the FR PVC.

wfq [ congestive-discard-threshold [ dynamic-queues ] ]

Optional.

7. Configure RTPQ for the FR PVC.

rtpq start-port min-dest-port end-port max-dest-port bandwidth bandwidth [ cbs committed-burst-size ]

Optional.

Configuring CBQ on an FR PVC

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a class and enter class view.

traffic classifier classifier-name [ operator { and | or } ]

N/A

3. Configure the match criteria.

if-match [ not ] match-criteria

N/A

4. Return to system view.

quit

N/A

5. Create a behavior and enter behavior view.

traffic behavior behavior-name

N/A

6. Configure CBQ.

Configure AF and configure the minimum guaranteed bandwidth.

queue af bandwidth { bandwidth | pct percentage }

Optional.

Configure EF and configure the maximum bandwidth.

queue ef bandwidth { bandwidth [ cbs burst ] | pct percentage [ cbs-ratio ratio] }

Optional.

Configure WFQ.

queue wfq [ queue-number total-queue-number ]

Optional.

Configure the maximum queue length.

queue-length queue-length

Optional.

Configure WRED drop.

wred [ dscp | ip-precedence ]

Optional.

  • dscp—Uses DSCP precedence for calculating the drop probability of packets.

  • ip-precedence—Uses the IP precedence for calculating the drop probability of packets. This keyword is used by default.

Configure the exponent for average queue length calculation.

wred weighting-constant exponent

Optional.

The default setting is 9.

Configure the lower limit, upper limit, and drop probability denominator for each DSCP value in WRED.

wred dscp dscp-value low-limit low-limit high-limit high-limit [ discard-probability discard-prob ]

Optional.

Configure the lower limit, upper limit, and drop probability denominator for each IP precedence value in WRED.

wred ip-precedence precedence low-limit low-limit high-limit high-limit [ discard-probability discard-prob ]

Optional.

7. Return to system view.

quit

N/A

8. Create a policy and enter policy view.

qos policy policy-name

N/A

9. Associate the class with the traffic behavior in the QoS policy.

classifier classifier-name behavior behavior-name

N/A

10. Return to system view.

quit

N/A

11. Enter FR class view.

fr class class-name

N/A

12. Apply the QoS policy in the outbound direction of the FR class and configure CBQ on the FR PVC.

apply policy policy-name outbound

N/A

For more information about PQ, CQ, WFQ, CBQ, and RTPQ configuration, see "Configuring congestion management."