华为交换机端口镜像配置

本地流量镜像

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    -- 表示双向流量 
posted @ 2020-03-12 17:17  kail说  阅读(2126)  评论(0编辑  收藏  举报