Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-39
[3Com -behavior-database] lr cir 38400 cbs 76800
2.5.25 lr percent
Syntax
lr percent cir committed-information-rate [ cbs committed-burst-size [ ebs
excess-burst-size ] ]
undo lr
View
Traffic behavior view
Parameter
committed-information-rate: CIR in percentages, in the range 1 to 100.
committed-burst-size: CBS in the range 50 to 2000 milliseconds. The default CBS is
500 milliseconds.
excess-burst-size: EBS in the range 0 to 2000 milliseconds. It defaults to 0, meaning
only one token bucket is used for policing.
Description
Use the lr percent command to configure LR.
Use the undo lr percent command to disable LR.
By default, LR is disabled.
The CIR, CBS, and EBS in the lr percent command are computed based on interface
or ATM PVC bandwidth. Note that the interface bandwidth discussed here is computed
based on the bandwidth in the qos max-bandwidth command without multiplying the
maximum reserved-bandwidth percentage. If the computed CIR is smaller than 8 kbps,
it is regarded 8 kbps; if the computed CBS is smaller than 15000 bits, it is regarded
15000 bits.
LR is different from GTS in the sense that the former is functioning at the link layer
whereas the latter is functioning at the IP layer.
Related command: display traffic policy interface.
Example
# For the specified behavior, set CIR to 50% of interface bandwidth and CBS to 200
milliseconds. This allows bursty traffic equivalent to 200 milliseconds x 50% of interface
bandwidth to pass at the first time. After that, traffic smaller than or equal to 50% of
interface bandwidth is sent and larger traffic is put in queues.
[3Com ] traffic behavior database
[3Com -behavior-database] lr percent cir 50 cbs 200