
Monitoring and Analyzing Switch Operation
Traffic Mirroring
Mirroring Configuration Examples
Example: Local Mirroring Using Traffic-Direction Criteria
An administrator wants to mirror the inbound traffic from workstation “X” on
port A5 and workstation “Y” on port B17 to a traffic analyzer connected to port
C24. In this case, the administrator chooses “1” as the session number. (Any
unused session number from 1 to 4 is valid.) Since the switch provides both
the source and destination for the traffic to monitor, local mirroring can be
used. In this case, the command sequence is:
1. Configure the local mirroring session, including the exit port.
2. Configure the monitored source interfaces for the session.
Switch
Traffic
Analyzer
X
Y
A5
B17
C24
Figure B-48. Local Mirroring Topology
ProCurve(config)# mirror 1 port c24
Caution: Please configure destination switch first.
Reminder to configure mirroring
destination before configuring
source.
Do you want to continue [y/n]? y
ProCurve(config)# interface a5,b17 monitor all in mirror 1
Configures port C24 as the mirroring
destination (exit port) for session 1.
Mirrors all inbound and outbound traffic on ports A5
and B17 to the mirroring destination configured for
session 1.
Figure B-49. Configuring a Local Mirroring Session for All Inbound and Outbound Port Traffic
B-87