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

zThe source port, the reflector port, and the remote-probe VLAN are determined.

zLayer 2 connectivity is ensured between the source and destination switches over the remote-probe VLAN.

zThe 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-idis the ID of the

remote-probe VLAN.

 

 

 

 

 

Configure the current VLAN as the

remote-probe vlan enable

Required

remote-probe VLAN

 

 

 

 

 

Return to system view

quit

 

 

 

Enter the view of the Ethernet port that

interface interface-type

 

connects to the intermediate switch or

interface-number

destination switch

 

 

 

 

 

 

 

 

Required

Configure the current port as trunk port

port link-type trunk

By default, the port

 

 

type is Access.

 

 

 

Configure the trunk port to permit packets

port trunk permit vlan

Required

from the remote-probe VLAN

remote-probe-vlan-id

 

 

 

 

Return to system view

quit

 

 

 

Create a remote source mirroring group

mirroring-group group-id

Required

remote-source

 

 

 

 

 

Configure source port(s) for the remote

mirroring-group group-id

 

mirroring-port

Required

source mirroring group

mirroring-port-list { both

 

 

inbound outbound }

 

 

 

 

Configure the reflector port for the remote

mirroring-group group-id

Required

source mirroring group

reflector-port reflector-port

 

 

 

 

Configure the remote-probe VLAN for the

mirroring-group group-id

Required

remote source mirroring group

remote-probe vlan

remote-probe-vlan-id

 

 

 

 

 

 

1-5

Page 406
Image 406
3Com WX3000 operation manual Configuring Remote Port Mirroring, Configuration on the device acting as a source switch