侧边栏壁纸
博主头像
落叶人生博主等级

走进秋风,寻找秋天的落叶

  • 累计撰写 130562 篇文章
  • 累计创建 28 个标签
  • 累计收到 9 条评论
标签搜索

目 录CONTENT

文章目录

华为设备IP流量统计

2022-12-28 星期三 / 0 评论 / 0 点赞 / 49 阅读 / 1313 字

华为9303配置流量统计的方法【配置举例】acl number 3000rule 0 permit icmp source 1.1.1.1 0 destination 2.2.2.2 0 //其中

.

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


.

广告 广告

评论区