华为交换机16700 配置端口镜像

在这里插入图片描述

镜像需求

镜像流量:连接防火墙的所有流量
源端口:eth-trunk 28 , 30
目标端口:10ge8/0/0

镜像配置

observe-port 1 interface 10ge8/0/0

int Eth-Trunk 28
port-mirroring observe-port 1 both 
int Eth-Trunk 30
port-mirroring observe-port 1 both 

配置完成后,查看镜像状态

<HW-16700>display observe-port 
  -----------------------------------------------------------------------------
  Index    : 1                                                 
  Interface: 10GE8/0/0                                         
  -----------------------------------------------------------------------------
<HW-16700>display port-mirroring 
  Observe port mirroring:
  -----------------------------------------------------------------------------
  MirroringPort         Direction        ObservePort : Interface
  -----------------------------------------------------------------------------
  Eth-Trunk28           Inbound                    1 : 10GE8/0/0             
                        Outbound                   1 : 10GE8/0/0             
  Eth-Trunk30           Inbound                    1 : 10GE8/0/0             
                        Outbound                   1 : 10GE8/0/0             
  -----------------------------------------------------------------------------
<HW-16700>
posted @ 2026-02-26 13:42  JacobJacob  阅读(1)  评论(0)    收藏  举报  来源