Port mirroring classification and implementation

Port mirroring includes local port mirroring and remote port mirroring.

Local port mirroring

In local port mirroring, the following conditions exist:

A local mirroring group is a mirroring group that contains the mirroring sources and the mirroring destination on the same device.

Figure 80: Local port mirroring implementation

As shown in Figure 80, the source port (Ten-GigabitEthernet 1/0/1) and the monitor port (Ten-GigabitEthernet 1/0/2) reside on the same device. Packets received on Ten-GigabitEthernet 1/0/1 are copied to Ten-GigabitEthernet 1/0/2. Ten-GigabitEthernet 1/0/2 then forwards the packets to the data monitoring device for analysis.

Remote port mirroring

In remote port mirroring, the following conditions exist:

A remote source group is a mirroring group that contains the mirroring sources. A remote destination group is a mirroring group that contains the mirroring destination. Intermediate devices are the devices between the source device and the destination device.

Remote port mirroring includes Layer 2 and Layer 3 remote port mirroring.