Configuring the MAC-based criteria to select traffic

Syntax

[ no ] monitor mac mac-addr [ src | dst | both ] mirror session


[NOTE: ]

NOTE: If you have already configured session 1 with a destination, you can enter the vlan vid monitor or interface port monitor command without traffic-selection criteria and session identifier to:

  • Overwrite the existing session 1 configuration.

  • Automatically configure mirroring in session 1 for inbound and outbound traffic on specified VLAN or port interfaces with the preconfigured destination.