Configuring Outbound Interface-based Rate Limiting
Context
To control the rate of all outgoing traffic on an interface, configure outbound interface-based rate limiting. When the transmit rate of packets exceeds the rate limit, excess packets are placed in the buffer queue. When there are sufficient tokens in the token bucket, the device forwards the buffered packets at an even rate. When the buffer queue is full, the device discards the new packets.
When the outgoing traffic rate on an interface exceeds the alarm threshold, an alarm is generated.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run qos lr cir cir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] ] [ outbound ]
Outbound interface-based rate limiting is configured.
By default, the rate limit on an interface is the maximum bandwidth of the interface.
- Run quit
Return to the system view.
- Run commit
The configuration is committed.