set port mirroring enhanced (S-Series)

Use this command to enable or disable enhanced port mirroring on the specified port(s).

Syntax

set port mirroring enhanced {enable | disable} port-string

Parameters

enable | disable Enables or disables enhanced port mirroring on the specified port(s).
port-string Specifies the port to enable or disable enhanced port mirroring on.

Defaults

None.

Mode

All command modes.

Usage

Enhanced port mirroring provides for following benefits that non-enhanced port mirrors do not:

  • L2/L3 multicast egress frames are mirrored
  • CNM (Congestion Notification Message) frames that the switch generates are mirrored
  • Mirrored egress frames accurately reflect all reframing actions

A maximum of 4 ports can be enabled for enhanced port mirroring.

An IDS mirror cannot use enhanced mirroring. An enhanced port mirrored to the IDS mirror will use non-enhanced mode.

Examples

In the following example, ports ge.3.1 and ge.3.4 are enabled for enhanced port mirroring. The show port mirroring enhanced command displays both ports as enabled for enhanced mirroring. The operational status of ge.3.4 is disabled because there is no active mirror for that port as shown in the show port mirroring command:

System(rw)->set port mirroring enhanced enable ge.3.1,4
System(rw)->show port mirroring enhanced
Enhanced Port Mirroring
=======================
Max Enhanced Mirror Source Ports: 4
Port         Admin Status Oper Status
------------ ------------ ------------
ge.3.1       enabled      enabled
ge.3.4       enabled      disabled
System(rw)->show port mirroring
Port Mirroring
==============
 Source Port        = ge.3.1
 Target Port        = ge.3.2
 Frames Mirrored    = Rx and Tx
 Admin Status       = enabled
 Operational Status = enabled
System(rw)->