cisco ip限速
cisco ip限速
cisco 怎么設(shè)置ip限速?相信學過思科技術(shù)的童鞋們都不會陌生,但是相對于新手來說可能就有一點點困難了。學習啦小編整理了相關(guān)資料,供您參考!
1、設(shè)置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、定義類
class-map match-all 102
match access-group 102
class-map match-all 103
match access-group 103
3、將類加入策略中
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、將策略加入端口中
interface FastEthernet0/0
service-policy input xiansutest
service-policy output xiansutest
針對某個網(wǎng)段進行限速(限定的是總帶寬)
(1)設(shè)置ACL
access-list 110 permit ip 192.168.10.0 0.0.0.255 any
access-list 102 permit ip any 192.168.10.0 0.0.0.255
(2)定義類
class-map match-all 110
match access-group 110
(3)設(shè)置策略
policy-map xiansu110
class 110
police 10240000 1280000 conform-action transmit exceed-action drop
(4)將策略加入端口
interface FastEthernet0/0
service-policy input xiansu110
service-policy output xiansu110
好了,以上就是小編為大家?guī)淼腸isco ip 限速設(shè)置方法介紹,希望可以幫到大家哦!