acl流量统计技术

70 阅读1分钟

前言

acl流量统计 是网络问题排查中一种排查手段 利用acl流量统计 通过命中次数来进行判断网络丢包情况出现在哪一台设备或者线路上 使用此技术可以更好的让我们发现网络存在的问题 [ 类似推荐 qos流量统计 ]

典型配置举例

网络拓扑

图片.png

SWA配置命令

#
interface Vlan-interface1
 ip address 192.168.1.122 255.255.255.128
#
interface GigabitEthernet1/0/1
 port link-mode bridge
 combo enable fiber
 packet-filter 3000 inbound hardware-count   // 端口下调用包过滤策略时添加hardware-count参数
 packet-filter 3000 outbound hardware-count
#
interface GigabitEthernet1/0/11
 port link-mode bridge
 combo enable fiber
 packet-filter 3000 inbound hardware-count
#
acl advanced 3000
 rule 0 permit ip source 192.168.1.1 0 destination 192.168.1.126 0 counting
 rule 10 permit ip source 192.168.1.126 0 destination 192.168.1.1 0 counting
[SWA]

配置验证

PCA

图片.png

SWA

图片.png