Speed limit is mainly in the bandwidth under the circumstances, in order to ensure the specific business bandwidth needs to take some of the necessary measures, the following mainly in POLICY-MAP implementation speed limit as an example explanation
1. Generate a list of ACLs for the stream control IP (primarily matching traffic that requires speed limit management)
Access-list Permit IP host 192.100.49 any
Access-list permit IP any host 192.100.49
2. Define Class-map
Class-map Match-all test110 (name, designed to be a convenient name for identification) also match-any options
Match Access-group 110
3. Define Policy-map
Policy-map Rate-limit (can be designed as other business names, easy to identify such as mail OA, etc.)
Class test110 (Match Class-map)
Police 40000000 conform-action transmit exceed-action drop
//Speed limit 4M, direct drop out of traffic
There are many speed limit options available in this mode, depending on the requirements
4, the interface call policy, to be the policy application, otherwise invalid
Interface GIGABITETHERNET0/1//Of course in some cases can be connected under the three-layer SVI
Service-policy input Rate-limit
Service-policy Output Rate-limit
5. Check whether Policy-map is in effect
R1#sh Policy-map Interface G0/1
An example
Access-list permit tcp any 192.168.0.0 0.0.255.255 eq www//service application
Access-list 151 permit ip any 192.168.102.0 0.0.0.255//ad, Mailbox network segment
Class-map Match-any Service
Match Access-group 150
Class-map Match-any Mail
Match Access-group 151
Policy-map INNER_CBWFQ
Class Service
Bandwidth percent 40
Class Mail
Bandwidth percent 40
Class Class-default
Fair-queue
Policy-map outer_cbwfq_8m
Class Class-default
Shape Average 8000000
Service-policy INNER_CBWFQ//nested a policy, interface as long as binding a outer_cbwfq_8m
Under the Internet interface:
Service-policy Output outer_cbwfq_8m
This article is from the "It Rookie" blog, make sure to keep this source http://slliang.blog.51cto.com/6959776/1612381
Cisco routing uses Policy-map for speed limiting