想实现acl3101里面的IP不限速,其他的IP都限速
以下是我的配置,但是全部限制了
请帮忙看下谢谢
acl number 3101
description xiansu-shengnei
rule 5 deny ip destination 192.168.10.0 0.0.0.255
rule 5 deny ip destination 192.168.20.0 0.0.0.255
rule 100 permit ip
#
traffic classifier XS operator or
if-match acl 3101
traffic behavior XS
car cir 10240 cbs 640000 pir 10240 ebs 640000 green pass red discard yellow pass
qos policy XS
classifier XS behavior XS
interface Ten-GigabitEthernet1/0/32
qos apply policy XS inbound
(0)
最佳答案
3103的acl改成permit,然后再traffic classifier里面,if-match not acl就好了,就是不匹配这个acl的会被限速
(0)
问题的详细描述请看图
172.16.10.0为服务端,
客户端192.168.10.0/24,192.168.20.0/24访问服务器不限速
其余网段整体限速到10M,能实现吗?
策略应用到ten1/0/11,现在的效果是每个访问的IP都限制成10Mb了
(0)
acl number 3101 rule 0 permit ip destination 192.168.10.0 0.0.0.255 rule 5 permit ip destination 192.168.20.0 0.0.0.255 acl number 3102 rule 0 permit ip traffic classifier XS-SN operator or if-match acl 3101 traffic classifier XS-SW operator or if-match acl 3102 traffic behavior XS-SN filter permit traffic behavior XS-SW1M car cir 10240 cbs 640000 pir 10240 ebs 640000 green pass red discard yellow pass qos policy XS-SW classifier XS-SN behavior XS-SN classifier XS-SW behavior XS-SW1M interface Ten-GigabitEthernet1/0/32 qos apply policy XS-SW1M inbound 改成这样了,目前没问题
acl number 3101 rule 0 permit ip destination 192.168.10.0 0.0.0.255 rule 5 permit ip destination 192.168.20.0 0.0.0.255 acl number 3102 rule 0 permit ip traffic classifier XS-SN operator or if-match acl 3101 traffic classifier XS-SW operator or if-match acl 3102 traffic behavior XS-SN filter permit traffic behavior XS-SW1M car cir 10240 cbs 640000 pir 10240 ebs 640000 green pass red discard yellow pass qos policy XS-SW classifier XS-SN behavior XS-SN classifier XS-SW behavior XS-SW1M interface Ten-GigabitEthernet1/0/32 qos apply policy XS-SW1M inbound 改成这样了,目前没问题
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
你这个应该是对的,谢谢