User guide

Brocade 6910 Ethernet Access Switch Configuration Guide 301
53-1002581-01
Chapter
14
Port Mirroring Commands
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.
Local Port Mirroring Commands
This section describes how to mirror traffic from a source port to a target port.
port monitor
This command configures a mirror session. Use the no form to clear a mirror session.
Syntax
port monitor {interface [rx | tx | both] | vlan vlan-id | mac-address mac-address |
access-list acl-name}
no port monitor {interface | vlan vlan-id | mac-address mac-address | access-list acl-name}
interface - ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-12)
rx - Mirror received packets.
tx - Mirror transmitted packets.
both - Mirror both received and transmitted packets.
vlan-id - VLAN ID (Range: 1-4093)
mac-address - MAC address in the form of xx-xx-xx-xx-xx-xx or xxxxxxxxxxxx.
TABLE 70 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
TABLE 71 Mirror Port Commands
Command Function Mode
port monitor Configures a mirror session IC
show port monitor Shows the configuration for a mirror port PE