Configuring remote port mirroring – H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 387
39-5
Configuring Remote Port Mirroring
The device can serve as a source switch, an intermediate switch, or a destination switch in a remote
port mirroring networking environment.
Configuration on the device acting as a source switch
1) Configuration
prerequisites
z
The source port, the reflector port, and the remote-probe VLAN are determined.
z
Layer 2 connectivity is ensured between the source and destination switches over the
remote-probe VLAN.
z
The direction of the packets to be monitored is determined.
2) Configuration
procedure
Follow these steps to configure the source switch:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a VLAN and enter the
VLAN view
vlan
vlan-id
vlan-id
is the ID of the
remote-probe VLAN.
Configure the current VLAN as the
remote-probe VLAN
remote-probe vlan enable
Required
Return to system view
quit
—
Enter the view of the Ethernet port
that connects to the intermediate
switch or destination switch
interface interface-type
interface-number
—
Configure the current port as trunk
port
port link-type trunk
Required
By default, the port type is Access.
Configure the trunk port to permit
packets from the remote-probe
VLAN
port trunk permit vlan
remote
-probe-vlan-id
Required
Return to system view
quit
—
Create a remote source mirroring
group
mirroring-group group-id
remote-source
Required
Configure source port(s) for the
remote source mirroring group
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
Required
Configure the reflector port for the
remote source mirroring group
mirroring-group group-id
reflector-port reflector-port
Required