Configuring Inbound Interface-based Rate Limiting
Context
If rates of traffic sent from users are not limited, continuous burst data from many users congests the network. Inbound interface-based rate limiting controls the rate of traffic entering an interface within a specified range.
Procedure
- Run system-view
The system view is displayed.
- (Optional) Run qos car ifg disable
The system is configured not to count the inter-frame gap and preamble of packets when calculating the traffic rate on an interface.
- Run qos car car-name { percent percent-value | cir cir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] [ pbs pbs-value [ bytes | kbytes | mbytes ] ] | pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] ] }
A QoS CAR profile is created, and rate limiting parameters are configured in the profile.
- Run interface interface-type interface-number
The interface view is displayed.
- Run qos car inbound car-name
The QoS CAR profile is applied to the interface in the inbound direction.
After a CAR profile is applied to an interface in the inbound direction, the device limits the rate of all traffic entering the interface.
- Run commit
The configuration is committed.