Traffic-direction criteria...........................................................................................................................409
Configure ACL criteria to select inbound............................................................................................... 410
interface monitor ip access-group............................................................................................... 410
Configuring a destination switch in a remote mirroring session.............................................................410
Configuring a source switch in a local mirroring session........................................................................411
Configuring a source switch in a remote mirroring session....................................................................411
Selecting all traffic on a port interface for mirroring according to traffic direction...................................412
Selecting all traffic on a VLAN interface for mirroring according to traffic direction............................... 413
Configuring a MAC address to filter mirrored traffic on an interface...................................................... 414
Configuring classifier-based mirroring................................................................................................... 415
Applying a mirroring policy on a port or VLAN interface............................................................. 417
Viewing a classifier-based mirroring configuration.................................................................................417
Viewing all mirroring session configured on the switch..........................................................................418
Viewing the remote endpoints configured on the switch........................................................................418
Viewing the mirroring configuration for a specific session..................................................................... 419
Viewing a remote mirroring session.......................................................................................................420
Viewing a MAC-based mirroring session............................................................................................... 421
Viewing a local mirroring session...........................................................................................................421
Viewing information on a classifier-based mirroring session................................................................. 422
Viewing information about a classifier-based mirroring configuration....................................................422
Viewing information about a classifier-based mirroring configuration....................................................423
Viewing resource usage for mirroring policies....................................................................................... 423
Viewing the mirroring configurations in the running configuration file....................................................424
Compatibility mode................................................................................................................................ 424
Traffic mirroring overview.......................................................................................................................425
Mirroring overview.......................................................................................................................425
Mirroring destinations..................................................................................................................426
Mirroring sources and sessions.................................................................................................. 426
Mirroring sessions....................................................................................................................... 426
Mirroring session limits.....................................................................................................427
Selecting mirrored traffic...................................................................................................427
Mirrored traffic destinations.........................................................................................................427
Local destinations.............................................................................................................428
Remote destinations.........................................................................................................428
Monitored traffic sources.............................................................................................................428
Criteria for selecting mirrored traffic............................................................................................ 428
Mirroring configuration................................................................................................................ 428
Remote mirroring endpoint and intermediate devices.................................................................429
Remote mirroring overview.................................................................................................................... 429
Quick reference to remote mirroring setup..................................................................................430
High-level overview of the mirror configuration process........................................................................ 430
Determine the mirroring session and destination........................................................................430
For a local mirroring session............................................................................................ 430
For a remote mirroring session........................................................................................ 430
Configure a mirroring destination on a remote switch.................................................................431
Configure a destination switch in a remote mirroring session.......................................... 431
Configure a mirroring session on the source switch................................................................... 431
Configure a source switch in a remote mirroring session.................................................431
Configure the monitored traffic in a mirror session......................................................................432
Traffic selection options....................................................................................................432
Mirroring-source restrictions.............................................................................................432
About selecting all inbound/outbound traffic to mirror............................................................................433
Untagged mirrored packets.........................................................................................................433
About using SNMP to configure no-tag-added ........................................................... 433
Operating notes................................................................................................................434
About selecting inbound/outbound traffic using a MAC address.................................................434
Contents 15