华为设备IP流量统计

华为9303配置流量统计的方法ide

【配置举例】 测试

acl number 3000接口

rule 0 permit icmp  source  1.1.1.1 0 destination  2.2.2.2 0     //其中1.1.1.1和2.2.2.2替换为ping测试时的源目的IP地址it

rule 5 permit icmp  source  2.2.2.2 0 destination  1.1.1.1 0io

 

traffic classifier huaweiclass

if-match acl 3000sed

 

traffic behavior huawei配置

statistic enable方法

 

traffic policy huawei统计

classifier huawei behavior huawei

 

interface Eth-Trunk8                  //在Eth-trunk5接口下同时配置以下两条命令。

traffic-policy huawei inbound 

traffic-policy huawei outbound 

 

#查看流量统计结果命令

 

display traffic policy statistics interface Eth-Trunk8 inbound verbose rule-based class huawei

display traffic policy statistics interface Eth-Trunk8 outbound verbose rule-based class huawei

 

#清空流量统计结果命令

reset traffic policy  statistics interface Eth-Trunk8 inbound

reset traffic policy  statistics interface Eth-Trunk8 outbound

相关文章
相关标签/搜索