beautypg.com

1 port mirroring configuration, Introduction to port mirroring, Classification of port mirroring – H3C Technologies H3C S5120 Series Switches User Manual

Page 120: Implementing port mirroring, Port mirroring configuration

background image

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

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 can be local or remote.

z

In local port mirroring, the mirroring port and the monitor port are located on the same device.

z

In remote port mirroring, the mirroring port 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.

z

S5120-SI series support only local port mirroring..

z

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

In local port mirroring, all packets (including protocol packets and data packets) passing through a port

can be mirrored. Local port mirroring is implemented through a local mirroring group.

An S5120-SI series switch supports one local mirroring group.