3Com Switch 7750 Configuration Guide

692 CHAPTER 62: MIRRORING CONFIGURATION
Configuring remote port mirroring on the intermediate switch
n
When a switch functions as the intermediate device or destination device for
remote mirroring, you are recommended to configure traffic redirect on the
incoming port in order to guarantee data mirroring is achieved normally. By
configuring traffic redirect, you can redirect all packets of the remote-probe VLAN
to the corresponding outgoing port (on the intermediate device) or mirroring
destination port (on the destination device). If you want to mirror packets in both
directions, you must configure traffic redirect on the incoming port because the
incoming port learns the source MAC addresses and destination MAC addresses of
packets at the same time. If the incoming port of a packet is the same as the
outgoing port of the packet, the packet is dropped. Refer to “Configuring
Redirect” on page 673 for configuring traffic redirect.
Configuring remote port mirroring on the destination switch
Table 557 Configure remote port mirroring on the intermediate switch
Operation Command Description
Enter system view system-view -
Create a remote-probe VLAN
and enter VLAN view
vlan vlan-id vlan-id is the ID of the
remote-probe VLAN.
Define the current VLAN as a
remote-probe VLAN
remote-probe vlan enable Required
Exit current view quit -
Enter port view of the relay
port through which the
intermediate switch is
connected to the source
switch, destination switch or
another intermediate switch
interface interface-type
interface-number
-
Configure the current port as
a trunk port
port link-type trunk Required
By default, the type of the
port is access.
Configure the relay port to
permit packets from the
remote-probe VLAN to pass
port trunk permit vlan
remote-probe-vlan-id
Required
This configuration is necessary
for ports on the intermediate
switch that are connected to
the source switch or the
destination switch.
Table 558 Configure remote port mirroring on the destination switch
Operation Command Description
Enter system view system-view -
Create a remote-probe VLAN
and enter VLAN view
vlan vlan-id vlan-id is the ID of the
remote-probe VLAN.
Define the current VLAN as a
remote-probe VLAN
remote-probe vlan enable Required
Exit the current view quit -