限速未生效配置ACL 匹配数据包acl number 3040 description sd2xiansu-10G-outbound rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.20.0 0.0.0.255定义匹配数据包的规则traffic classifier sd2xiansu-10G if-match acl 3040 配置流量监管动作traffic behavior sd2xiansu-10Gcar cir 5000000 cbs 1024 ebs 512 green pass red discard yellow discard在策略中为类指定采用的流行为qos policy sd2xiansu-10G classifier sd2xiansu-10G behavior sd2xiansu-10G在核心交换机接口上应用策略interface Ten-GigabitEthernet2/0/44qos apply policy sd2xiansu-10G outbound
限速未生效配置ACL 匹配数据包acl number 3040 description sd2xiansu-10G-outbound rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.16.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.17.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.25.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.22.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.11.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.19.0 0.0.0.255 destination 172.18.20.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.12.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.14.0 0.0.0.255 rule permit ip source 172.16.27.0 0.0.0.255 destination 172.18.20.0 0.0.0.255定义匹配数据包的规则traffic classifier sd2xiansu-10G if-match acl 3040 配置流量监管动作traffic behavior sd2xiansu-10Gcar cir 5000000 cbs 1024 ebs 512 green pass red discard yellow discard在策略中为类指定采用的流行为qos policy sd2xiansu-10G classifier sd2xiansu-10G behavior sd2xiansu-10G在核心交换机接口上应用策略interface Ten-GigabitEthernet2/0/44qos apply policy sd2xiansu-10G outbound
(0)
最佳答案
检查看下ACL能否匹配到流量,设置的限速值是针对没条rule规则的,ACL匹配的接口流量超过限速值了吗?
(0)
不是整个acl 限速的总和吗?
Interface: Ten-GigabitEthernet2/0/44 Direction: Outbound Policy: sd2xiansu-10G Classifier: sd2xiansu-10G Operator: AND Rule(s) : If-match acl 3040 Behavior: sd2xiansu-10G Accounting enable: 393976800 (Bytes) Committed Access Rate: CIR 5000000 (kbps), CBS 51200 (Bytes), EBS 512 (Bytes) Green action : pass Yellow action : discard Red action : discard Green packets : 379298019 (Bytes)
car限速是针对每个rule进行限速的。
可以先看下acl是否有匹配到这条流,简单方法就是先把car修改为accout,如果匹配到流了,但是限速不成功,限速一般是在入方向限速的
(0)
Interface: Ten-GigabitEthernet2/0/44 Direction: Outbound Policy: sd2xiansu-10G Classifier: sd2xiansu-10G Operator: AND Rule(s) : If-match acl 3040 Behavior: sd2xiansu-10G Accounting enable: 393976800 (Bytes) Committed Access Rate: CIR 5000000 (kbps), CBS 51200 (Bytes), EBS 512 (Bytes) Green action : pass Yellow action : discard Red action : discard Green packets : 379298019 (Bytes)
Interface: Ten-GigabitEthernet2/0/44 Direction: Outbound Policy: sd2xiansu-10G Classifier: sd2xiansu-10G Operator: AND Rule(s) : If-match acl 3040 Behavior: sd2xiansu-10G Accounting enable: 393976800 (Bytes) Committed Access Rate: CIR 5000000 (kbps), CBS 51200 (Bytes), EBS 512 (Bytes) Green action : pass Yellow action : discard Red action : discard Green packets : 379298019 (Bytes)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
car限速是针对每个rule进行限速的。