1. 程式人生 > >華為設備IP流量統計

華為設備IP流量統計

網絡 acl pbr 策略路由

華為9303配置流量統計的方法

【配置舉例】

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地址

rule 5 permit icmp source 2.2.2.2 0 destination 1.1.1.1 0

traffic classifier huawei

if-match acl 3000

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


本文出自 “閑雲野鶴,悠悠垂釣” 博客,請務必保留此出處http://cvgcv6666.blog.51cto.com/713624/1977871

華為設備IP流量統計