从您提供的数据来看,这是一个典型的镜像流量过载问题。
原因分析:
出口设备入方向流量为 937MB/s(76%),但观察口(镜像目的端口)输出仅为 122MB/s(10%)。
镜像口带宽远小于被镜像流量,导致大量报文被丢弃。观察口速率远低于源端口速率,说明镜像口已成为瓶颈。
排查步骤:
1. 确认镜像口带宽:检查观察口是否为千兆口(1000Mbps≈125MB/s),而源端口为万兆口(10Gbps≈1250MB/s)。若观察口为千兆口,则无法承载万兆流量。
2. 查看镜像配置:
display mirroring-group all
display mirroring-group 1
确认镜像方向(入方向/出方向/双向)及是否误将双向镜像配置为单向。
3. 检查CPU/芯片丢包:
display qos mirroring statistics
display drop statistics interface GigabitEthernet x/x/x
解决方案:
升级观察口:将镜像目的端口改为万兆口(10G),或使用多个千兆口做聚合(需设备支持跨端口镜像负载分担)。
过滤镜像流量:使用ACL仅镜像关键业务流量,减少镜像量:
mirroring-group 1 mirroring-port GigabitEthernet1/0/1 both
mirroring-group 1 monitor-port GigabitEthernet1/0/2
添加ACL过滤
acl number 4000
rule 5 permit ip source 192.168.1.0 0.0.0.255
mirroring-group 1 mirroring-port GigabitEthernet1/0/1 both acl 4000
结论:观察口带宽不足是根本原因,建议更换为万兆口或启用流量过滤。
暂无评论