Get the App
SLTechnology News&Howtos  ›  Network Security  › 

The method of limiting Speed of cisco Router

Shulou Source: shulou.com Published: 2022-06-01 04:28:09 11月13日 Update

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

Tags: Policies ports speed limits bandwidth steps network segments methods routes routers speed limits Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Information NVidia MariaDB Redmi