Port Mirroring 49
Port Mirroring
This section describes the Port Mirroring feature.
Overview
Port Mirroring:
zAllows you to monitor network traffic with an external network analyzer
zForwards a copy of each incoming and outgoing packet to a specific port
zIs used as a diagnostic tool, debugging feature or means of fending off attacks
zAssigns a specific port to copy all packets to
zAllows 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) |
| #show monitor session 1 | |
Session ID | Admin Mode | Probe Port | Mirrored Port |
1 | Enable | 0/5 | 0/4 |
NOTE: Monitor session ID “1” - “1” is a hardware limitation.
Example #2: show port all
(Console) |
|
| #show port all |
|
| |
Intf | Type | Admin | PhysicalPhysicalLink | Link | LACP | |
Mode | Mode | StatusStatus | Trap | Mode | ||
0/1 |
| Enable | Auto | Down | Enable | Enable |
0/2 |
| Enable | Auto | Down | Enable | Enable |
0/3 | Mirror | Enable | Auto | Down | Enable | Enable |
0/4 | Enable | Auto | Down | Enable | Enable | |
0/5 | Probe | Enable | Auto | Down | Enable | Enable |
0/6 |
| Enable | Auto | Down | Enable | Enable |
0/7 |
| Enable | Auto | Down | Enable | Enable |
0/8 |
| Enable | Auto | Down | Enable | Enable |
0/10 |
| Enable | Auto | Down | Enable | Enable |