Cisco Nexus交换机配置端口镜像span

与Catalyst系列不同,
Nexus系列交换机还需要在镜像的目的端口下多打1条命令,并且monitor session 需要no shutdown, 否则是关闭状态

拓扑:要将E1/1接口流量镜像到 E1/6
在这里插入图片描述

配置步骤

目的端口下开启monitor

interface ethernet 1/6
switchport
switchport monitor
no shutdown

配置镜像

monitor session 1 
  description N9508-to-Firewall
  source interface e1/1
  destination interface Ethernet1/6
  no shut

查看镜像

Nexus9508# sh monitor session 1
   session 1
---------------
description       : N9508-to-Firewall
type              : local
state             : up
acl-name          : acl-name not specified
source intf       : 
    rx            : E1/1
    tx            : E1/1
    both          : E1/1
source VLANs      : 
    rx            : 
    tx            : 
    both          : 
filter VLANs      : filter not specified
source fwd drops  : 
destination ports : Eth1/6    
source VSANs      : 
    rx            : 
posted @ 2026-02-26 22:13  JacobJacob  阅读(3)  评论(0)    收藏  举报  来源