当前位置: > 财经>正文

一、华为交换机做流量统计(流统) 理财基金黄金股票的优缺点分析图片大全视频讲解

2023-09-02 21:14:40 互联网 未知 财经

一、华为交换机做流量统计(流统)

做某厂的云计算的物理网络交付工作。网络环境复杂,涉及传统数通网络,虚拟网络,服务器内部网络。遇到排查网络故障,定位问题时,不得不用到流统。下面以源192.188.131.67,目的192.188.128.7为例做流量统计(流统)1、建立aclacl number 3333rule 10 permit ip source 192.188.131.67 0 destination 192.188.128.7 02、定义流、流行为、流策略

traffic classifier 3333 type orif-match acl 3333

流行为

traffic behavior 3333permitstatistics enable

流策略

traffic policy 3333classifier 3333 behavior 3333 precedence 53、应用流策略interface Eth-Trunk1traffic-policy 3333 inboundtraffic-policy 3333 outbound

查看引用情况

disp traffic policyTraffic Policy Information:Policy: 3333Classifier: 3333Type: ORBehavior: 3333Statistics: enable

查看应用情况

disp traffic-policy applied-recordTotal records : 2--------------------------------------------------------------------------------Policy Type/Name Apply Parameter Slot State--------------------------------------------------------------------------------3333 Eth-Trunk1(IN) 1 success2 successEth-Trunk1(OUT) 1 success2 success--------------------------------------------------------------------------------

查看inbound和outbound

disp traffic-policy statistics interface Eth-Trunk 1 inbounddisp traffic-policy statistics interface Eth-Trunk 1 outbound 4、ping来测试

流量统计(流统),这里总共ping了8个包,匹配到8个包。

disp traffic-policy statistics interface Eth-Trunk 1Traffic policy: 3333, inbound--------------------------------------------------------------------------------Slot: 1Item Packets Bytes pps bps-------------------------------------------------------------------------------Matched 8 656 0 0Passed 8 656 0 0Dropped 0 0 0 0Filter 0 0 0 0CAR 0 0 0 0-------------------------------------------------------------------------------Slot: 2Item Packets Bytes pps bps-------------------------------------------------------------------------------Matched 0 0 0 0Passed 0 0 0 0Dropped 0 0 0 0Filter 0 0 0 0CAR 0 0 0 0-------------------------------------------------------------------------------Traffic policy: 3333, outbound--------------------------------------------------------------------------------Slot: 1Item Packets Bytes pps bps-------------------------------------------------------------------------------Matched 8 656 0 0Passed 8 656 0 0Dropped 0 0 0 0Filter 0 0 0 0CAR 0 0 0 0-------------------------------------------------------------------------------Slot: 2Item Packets Bytes pps bps-------------------------------------------------------------------------------Matched 0 0 0 0Passed 0 0 0 0Dropped 0 0 0 0Filter 0 0 0 0CAR 0 0 0 0-------------------------------------------------------------------------------5、清除统计信息reset traffic-policy statistics interface Eth-Trunk 16、备注交换机型号:CE6881-48S6CQ交换机软件版本:VRP (R) software, Version 8.190 (CE6881 V200R005C20SPC800)交换机补丁版本:Patch Version: V200R005SPH017二、华3交换机做流量统计(流统)1、建立ipv6的acl

acl ipv6 advanced 3333

description test

rule 5 permit ipv6 destination 2409:8C85:AA14::A4B:97C9/128

2、定义流、流行为、流策略

traffic classifier test operator and

if-match acl ipv6 3333

#

traffic behavior test

accounting packet byte

#

qos policy test

classifier test behavior test

interface Route-Aggregation1

qos apply policy test inbound

版权声明: 本站仅提供信息存储空间服务,旨在传递更多信息,不拥有所有权,不承担相关法律责任,不代表本网赞同其观点和对其真实性负责。如因作品内容、版权和其它问题需要同本网联系的,请发送邮件至 举报,一经查实,本站将立刻删除。