您现在的位置是:无线路由器 > 路由器设置 > 路由器常见问题 >

cisco路由器怎么限速度

发布时间:2019-12-10 07:17:29所属栏目:路由器常见问题 已帮助编辑作者:深圳电脑网络维修

今天分享cisco路由器怎么针对某些ip限制速度

1、设置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

针对某个网段进行限速(限定的是总带宽)

(1)设置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)设置策略

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

Tags:

     以上就是深圳电脑网络维修为您提供cisco路由器怎么限速度的解读,本文章链接: http://www.armdy.cn/cjwt/3030.html 欢迎分享转载,更多相关资讯请前往路由器常见问题

站长名片

姓名:曾工

职业:IT运维

现居:深圳罗湖宝能大厦

电话:15768114603

扫码关注

  • 专注IT行业,10年IT行业经验
  • 微信