Mirroring configuration, Configuring local port mirroring, Configuration prerequisites – H3C Technologies H3C S3100 Series Switches User Manual
Page 620: Configuration procedure

1-3
Switch
Ports involved
Function
Trunk port
Receives remote mirrored packets.
Destination switch
Destination port
Receives packets forwarded from the trunk port
and transmits the packets to the data detection
device.
z
Do not configure the default VLAN (VLAN 1), the port VLAN, or a dynamic VLAN as the remote
probe VLAN.
z
Configure all ports connecting the devices in the remote-probe VLAN as trunk ports, and ensure
the Layer 2 connectivity from the source switch to the destination switch over the remote-probe
VLAN.
z
Do not configure a Layer 3 interface for the remote-probe VLAN, run other protocol packets, or
carry other service packets on the remote-prove VLAN and do not use the remote-prove VLAN as
the voice VLAN and protocol VLAN; otherwise, remote port mirroring may be affected.
Mirroring Configuration
Table 1-2 Mirroring configuration tasks
Task
Remarks
Configuring Local Port Mirroring
Optional
Configuring Remote Port Mirroring
Optional
Configuring Local Port Mirroring
Configuration prerequisites
z
The source port is determined and the direction in which the packets are to be mirrored is
determined.
z
The destination port is determined.
Configuration procedure
Table 1-3 Configure local port mirroring
Operation
Command
Description
Enter system view
system-view
—
Create a port mirroring group
mirroring-group group-id
local
Required