9 port mirroring configuration, Introduction to port mirroring, Classification of port mirroring – H3C Technologies H3C S7500E Series Switches User Manual
Page 148: Implementing port mirroring, Port mirroring configuration
9-1
9
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 Layer 2 Remote Port Mirroring
z
Configuring Layer 3 Remote Port Mirroring
z
Configuring Local Port Mirroring for an ONU
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 as needed.
Classification of Port Mirroring
Port mirroring falls into the following types:
z
Local port mirroring: In local port mirroring, the mirroring port and the monitor port are located on
the same device.
z
Layer 2 remote port mirroring: In Layer 2 remote port mirroring, the mirroring port and the monitor
port are located on different devices on a same Layer 2 network.
z
Layer 3 remote port mirroring: In Layer 3 remote port mirroring, the mirroring port and the monitor
port are separated by IP networks.
As a monitor port can monitor multiple ports, it may receive multiple duplicates of a packet in some
cases. Suppose that Port 1 is monitoring bidirectional traffic on Port 2 and Port 3 on the same device.
If a packet travels from Port 2 to Port 3, two duplicates of the packet will be received on Port 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, Layer 2 remote port mirroring, and Layer
3 remote port mirroring are implemented.