在系统视图下配置端口镜像
先配置观察端口
[Quidway]observe-port 1 interface GigabitEthernet 0/0/24
然后再进入需要镜像的端口
[Quidway]interface GigabitEthernet 0/0/23
在配置镜像端口模式
[Quidway-GigabitEthernet0/0/23]port-mirroring to observe-port 1 both
both,全部流量;inbound,入方向流量;outbound,出方向流量
配置完成之后用display current 查看下配置
剩下的就是你吧电脑接入到24端口来观察23端口的数据了 来自:https://blog.csdn.net/qq_31422671/article/details/86621084