Many people may not have a special understanding of the speed limit of the Cisco router, so I have studied the detailed setting statements for the speed limit of the Cisco router. I will share them with you here, hoping to help you. In a Cisco router device, only routers or switches that support Cisco Express Forward (CEF, Cisco Express Forward) can use rate-limit to limit traffic. The specific settings are divided into three steps:
1. Enable cef: configure terminal, Router (config) # ip cef in global mode.
2. Define standard or extended access list (define one direction): Router (config) # access-list 111 permit ip 192.168.1.0 0.0.255 any.
3. Perform rate-limit on the port to be restricted:
Router (config) # interface FastEthernet 0/1.
Rounter (config-if) # rate-limit input access-group 111 2000000 40000 60000, so that we can start to speed down the Cisco router at a rate of 2 Mbps. Note that it is for the entire network segment, because the ACL you define is for the entire network segment.
Command Format: # rate-limit {input | output} [access-group number].
Input | output: this is the direction of data traffic.
Access-group number: the number of the access list defined.
Bps: defines the maximum traffic rate. The unit is bps.
Burst-normal burst-max: the size of the defined data capacity, generally 32000, in bytes. When the data reaches exceeds this capacity, an action is triggered, discarded or forwarded to speed limit.
Conform-action and exceed-action are the processing policies for the traffic below the rate limit and the traffic exceeding the rate limit respectively.
Action: A processing policy, including drop and transmit.