Port Mirroring
This section describes the Port Mirroring feature.
Overview
Port Mirroring:
Allows you to monitor network traffic with an external network analyzer
Forwards a copy of each incoming and outgoing packet to a specific port
Is used as a diagnostic tool, debugging feature or means of fending off attacks
Assigns a specific port to copy all packets to
Allows inbound or outbound packets to switch to their destination and to be copied to the
mirrored port
CLI Examples
The following are examples of the commands used in the Port Mirroring feature.
Example #1: show monitor session
(Console)
Session ID
----------
1
NOTE:
Example #2: show port all
(Console)
Intf
----
0/1
0/2
0/3
0/4
0/5
0/6
0/7
0/8
0/10
Admin Mode
----------
Enable
Monitor session ID "1" - "1" is a hardware limitation.
Admin
PhysicalPhysicalLink
Type
Mode
Mode
----
------ ---------------------- ----
Enable Auto
Enable Auto
Enable Auto
Mirror Enable Auto
Probe
Enable Auto
Enable Auto
Enable Auto
Enable Auto
Enable Auto
#show monitor session 1
Probe Port
Mirrored Port
----------
-------------
0/5
0/4
#show port all
Link
StatusStatus
Trap
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Down
Enable
Port Mirroring
49
LACP
Mode
----
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable
Enable