FAQ:S7700 通过traffic-limit 限速如何查看是否生效?

发布时间:  2017-03-14 浏览次数:  248 下载次数:  0
问题描述

S7700 通过traffic-limit 限速如何查看是否生效?

 

 比如在接口GE0/0/1的入方向,配置基于ACL的流量监管功能。配置匹配ACL 3000的报文的承诺信息速率为10000kbit/s

<HUAWEI> system-view

[HUAWEI] acl 3000
 [HUAWEI-acl-adv-3000] rule 5 permit ip source 192.168.1.0 0.0.0.255
 [HUAWEI-acl-adv-3000] quit
 [HUAWEI] interface gigabitethernet 0/0/1
 [HUAWEI-GigabitEthernet0/0/1] traffic-limit inbound acl 3000 cir 10000

解决方案

需要配置基于 acl 流通的方式查看是否生效,如下:

查看接口GE0/0/1入方向上基于ACL 3009的流量统计信息。

<HUAWEI> system-view
 [HUAWEI] interface gigabitethernet 0/0/1
 [HUAWEI-GigabitEthernet0/0/1] traffic-statistic inbound acl 3000
 [HUAWEI-GigabitEthernet0/0/1] quit
 [HUAWEI] display traffic-statistics interface gigabitethernet 0/0/1 inbound acl 3000
 ---------------------------------------------------------------------------                                                        
 Interface GigabitEthernet0/0/1                                                                                                     
  ACL:3009 Rule:1                                                                                                                   
      matched:0 packets, passed:0 packets, dropped:0 packets   

END