The method of limiting Speed of cisco Router
Cisco speed limit steps
1. Set ACL
Access-list 102 permit ip host 192.168.10.2 any
Access-list 102 permit ip any host 192.168.10.2
Access-list 103 permit ip host 192.168.10.3 any
Access-list 103 permit ip any host 192.168.10.3
2. Define the class
Class-map match-all 102
Match access-group 102
Class-map match-all 103
Match access-group 103
3. Add the class to the policy
Policy-map xiansu
Class 102
Police 1024000 128000 conform-action transmit exceed-action drop
Class 103
Police 1024000 128000 conform-action transmit exceed-action drop
4. Add the policy to the port
Interface FastEthernet0/0
Service-policy input xiansutest
Service-policy output xiansutest
Speed limit for a network segment (limited to total bandwidth)
(1) set ACL
Access-list 110 permit ip 192.168.10.0 0.0.0.255 any
Access-list 110 permit ip any 192.168.10.0 0.0.0.255
(2) define classes
Class-map match-all 110
Match access-group 110
(3) set policy
Policy-map xiansu110
Class 110
Police 10240000 1280000 conform-action transmit exceed-action drop
(4) add policy to the port
Interface FastEthernet0/0
Service-policy input xiansu110
Service-policy output xiansu110