Monitoring and Analyzing Switch Operation

Traffic Mirroring

■Interface type•Port, trunk, and/or mesh•VLAN•Switch (global configuration level)■Traffic direction and selection criteria•All inbound and/or outbound traffic on a port or VLAN interface

•Only inbound IP traffic selected with an ACL (deprecated in software release K.14.01 and greater)

•Only inbound IPv4 or IPv6 traffic selected with a classifier-based mirroring policy

•All inbound and/or outbound traffic selected by MAC source and/or destination address

The different ways to configure traffic-selection criteria on a monitored interface are described in the following sections:

■“Selecting All Inbound/Outbound Traffic to Mirror” on page B-57■“Selecting Inbound Traffic Using an ACL (Deprecated)” on page B-62■“Selecting Inbound/Outbound Traffic Using a MAC Address” on page B-63

■“Selecting Inbound Traffic Using Advanced Classifier-Based Mirroring” on page B-66

Mirroring-Source Restrictions

In a mirroring session, you can configure any of the following sources of mirrored traffic:

■Multiple port and trunk, and/or mesh interfaces■One VLAN

If you configure a VLAN as the source interface in a mirroring session and assign a second VLAN to the session, the second VLAN overwrites the first VLAN as the source of mirrored traffic.

■One classifier-based policy

If you configure a mirroring policy on a port or VLAN interface to mirror inbound traffic in a session, you cannot configure a port, trunk, mesh, ACL, or VLAN as an additional source of mirrored traffic in the session.

■Up to 320 MAC addresses (used to select traffic according to source and/ or destination MAC address) in all mirroring sessions configured on a switch

B-56