29
L
P
M
OCAL
ORT
IRRORING
port monitor
P
M
ORT
IRRORING
Data can be mirrored from a local port on the same switch or from a
remote port on another switch for analysis at the target port using
software monitoring tools or a hardware probe. This switch supports the
following mirroring modes.
Table 97: Port Mirroring Commands
Command
Function
Local Port Mirroring
Mirrors data to another port for analysis without affecting the data
passing through or the performance of the monitored port
RSPAN Mirroring
Mirrors data from remote switches over a dedicated VLAN
C
OMMANDS
This section describes how to mirror traffic from a source port to a target
port.
Table 98: Mirror Port Commands
Command
Function
port monitor
Configures a mirror session
show port monitor
Shows the configuration for a mirror port
This command configures a mirror session. Use the no form to clear a
mirror session.
S
YNTAX
port monitor {interface [rx | tx | both] | vlan vlan-id |
mac-address mac-address}
no port monitor interface
interface - ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-10)
rx - Mirror received packets.
tx - Mirror transmitted packets.
both - Mirror both received and transmitted packets.
vlan-id - VLAN ID (Range: 1-4093)
– 751 –
C
OMMANDS
Mode
IC
PE