SSE-G2252/SSE-G2252P Switches User's Manual
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]
no port monitor interface
interface
ethernet unit/port (source port)
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-52)
port-channel channel-id (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.
Default Setting
•
No mirror session is defined.
•
When enabled for an interface, default mirroring is for both received and transmitted
packets.
•
When enabled for a VLAN or a MAC address, mirroring is restricted to received
packets.
Command Mode
Interface Configuration (Ethernet, destination port)
Command Usage
•
You can mirror traffic from any source port or trunk to a destination port for real-time
analysis. You can then attach a logic analyzer or RMON probe to the destination
port and study the traffic crossing the source port or trunk in a completely
unobtrusive manner.
•
Set the destination port by specifying an Ethernet interface with the
configuration command, and then use the port monitor command to specify the
source of the traffic to mirror.
30-2
interface