华为交换机端口镜像配置

本地流量镜像

1. 设置目的端口,即监控端口

  observe-port 1 interface G1/0/10 
  observe-port 1 interface g1/0/10 vlan 10  ---可以添加vlan
2. 配置源端口,
  int g1/0/20
  port-mirroring to observe-port 1 inbound  -- 表示入方向流量
  port-mirroring to observe-port 1 outbound  -- 表示出方向流量
  port-mirroring to observe-port 1 both    -- 表示双向流量 
原文地址:https://www.cnblogs.com/kailsay/p/12470520.html