华为设备IP流量统计

编程入门 行业动态 更新时间:2024-10-14 18:17:14

<a href=https://www.elefans.com/category/jswz/34/1769368.html style=华为设备IP流量统计"/>

华为设备IP流量统计

华为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


转载于:

更多推荐

华为设备IP流量统计

本文发布于:2024-03-10 06:46:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1727270.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:华为   流量统计   设备   IP

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!