免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2700 | 回复: 5
打印 上一主题 下一主题

为什么rate-limit命令在我的2611上没有作用 [复制链接]

论坛徽章:
3
辰龙
日期:2013-11-20 23:03:57子鼠
日期:2014-05-26 14:46:482015年亚洲杯之伊拉克
日期:2015-01-30 14:29:38
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-12 08:47 |只看该作者 |倒序浏览
命令如下:
2611(config)# ip cef
2611(config)# access-list 102 permit ip host 192.168.0.15 any
2611(config)# interface f 0/0
2611(config)# rate-limit iutput access-group 102 128000 16000 16000 conform-action transmit exceed-action drop
2611(config)# rate-limit output access-group 102 128000 16000 16000 conform-action transmit exceed-action drop
测试似乎没有限制到我的下载速度,请指点!

论坛徽章:
3
辰龙
日期:2013-11-20 23:03:57子鼠
日期:2014-05-26 14:46:482015年亚洲杯之伊拉克
日期:2015-01-30 14:29:38
2 [报告]
发表于 2007-01-12 09:10 |只看该作者
[Code]
CAR and DCAR can be configured on an interface or subinterface. However, CAR and DCAR are not supported on the Fast EtherChannel, tunnel, or PRI interfaces, nor on any interface that does not support Cisco Express Forwarding (CEF).

CEF must be enabled on the interface before you configure CAR or DCAR.
[/Code]
难道是因为我的接口是Fast Ethernet?
Fast EtherChannel是什么意思?

论坛徽章:
0
3 [报告]
发表于 2007-01-14 23:17 |只看该作者
因为回来的数据包的目标地址是192.168.0.15,所以acl 102 match不上,自然就限制不了

access-list 103 permit ip any host 192.168.0.15

rate-limit output access-group 103 128000 16000 16000 conform-action transmit exceed-action drop

论坛徽章:
3
辰龙
日期:2013-11-20 23:03:57子鼠
日期:2014-05-26 14:46:482015年亚洲杯之伊拉克
日期:2015-01-30 14:29:38
4 [报告]
发表于 2007-01-15 08:30 |只看该作者
原帖由 puding 于 2007-1-14 23:17 发表
因为回来的数据包的目标地址是192.168.0.15,所以acl 102 match不上,自然就限制不了

access-list 103 permit ip any host 192.168.0.15

rate-limit output access-group 103 128000 16000 16000 conform-a ...

Thanks a lot!
你解决了我头痛了两天的问题!
之前也考虑过可能是这个问题,但我没有去试一下,而楼上的朋友去能不厌其烦的去试验,值得以后学习!
再次感谢!

论坛徽章:
0
5 [报告]
发表于 2007-01-15 15:47 |只看该作者
打开cef试试

ip cef

论坛徽章:
3
辰龙
日期:2013-11-20 23:03:57子鼠
日期:2014-05-26 14:46:482015年亚洲杯之伊拉克
日期:2015-01-30 14:29:38
6 [报告]
发表于 2007-01-16 09:13 |只看该作者
原帖由 wonderliang 于 2007-1-15 15:47 发表
打开cef试试

ip cef

已解决,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP