Figure 65 Local port mirroring implementation

As shown in Figure 65, the source port GigabitEthernet 1/0/1 and monitor port GigabitEthernet 1/0/2 reside on the same device. Packets of GigabitEthernet 1/0/1 are copied to GigabitEthernet 1/0/2, which then forwards the packets to the data monitoring device for analysis.

Configuration restrictions and guidelines

When you configure port mirroring, follow these restrictions and guidelines:

A local mirroring group can contain multiple source ports, but only one monitor port.

Do not enable the spanning tree feature on the monitor port.

Use a monitor port only for port mirroring to make sure the data monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored traffic and other forwarded traffic.

Recommended configuration procedures

StepRemarks

1.Configure a local mirroring group.

Required.

For more information, see "Configuring a mirroring group." Select the mirroring group type local in the Type list.

2.Configure source ports for the mirroring group.

Required.

For more information, see "Configuring ports for the mirroring group." Select the port type Mirror Port.

3.Configure the monitor port for the mirroring group.

Required.

For more information, see "Configuring ports for the mirroring group." Select the port type Monitor Port.

Configuring a mirroring group

1.From the navigation tree, select Device > Port Mirroring.

80