端口镜像
通过配置镜像功能,可以将报文复制到特定的目的地进行分析,以进行网络监控和故障定位。
镜像是指将经过指定端口(源端口或者镜像端口)的报文复制一份到另一个指定端口(目的端口或者观察端口)。
配置举例
1、 一对一本地端口镜像(一个监控设备监控一个端口)
observe-port 1 interface GigabitEthernet1/0/2 // 观察口
#
interface GigabitEthernet1/0/1或者GigabitEthernet1/0/10 (上联口) //镜像口
port-mirroring to observe-port 1 inbound/outbound/both
2、多对一端口本地端口镜像(多个监控设备同时监控一个端口)