1-1
1
Port Mirroring Configuration
When configuring port mirroring, go to these sections for information you are interested in:
z
Introduction to Port Mirroring
z
Configuring Local Port Mirroring
z
Configuring Remote Port Mirroring
z
Displaying and Maintaining Port Mirroring
z
Port Mirroring Configuration Examples
Introduction to Port Mirroring
Port mirroring is to copy the packets passing through a port (called a mirroring port) to another port
(called the monitor port) connected with a monitoring device for packet analysis.
You can select to port-mirror inbound, outbound, or bidirectional traffic on a port/VLAN as needed.
Classification of Port Mirroring
Port mirroring can be local or remote.
z
In local port mirroring, the mirroring port or ports and the monitor port are located on the same
device.
z
In remote port mirroring, the mirroring port or ports and the monitor port can be located on the
same device or different devices. Currently, remote port mirroring can be implemented only at
Layer 2.
As a monitor port can monitor multiple ports, it may receive multiple duplicates of a packet in some
cases. Suppose that port P 1 is monitoring bidirectional traffic on ports P 2 and P 3 on the same device.
If a packet travels from P 2 to P 3, two duplicates of the packet will be received on P 1.
Implementing Port Mirroring
Port mirroring is implemented through port mirroring groups. There are three types of mirroring groups:
local, remote source, and remote destination.
The following subsections describe how local port mirroring and remote port mirroring are
implemented.