Configuration prerequisites
Before configuring Layer 2 remote port mirroring, make sure that you have created static VLANs for the
remote probe VLAN.
CAUTION:
Both the remote source mirrorin
roup on the source device and the remote destination mirrorin
roup
on the destination device must use the same remote probe VLAN.
Configuring a remote source mirroring group (on the source
device)
To configure a remote source mirroring group, make the following configurations on the source device.
Creating a remote source mirroring group
Follow these steps to create a remote source mirroring group:
To do… Use the command… Remarks
Enter system view system-view —
Create a remote source mirroring
group
mirroring-group group-id remote-source
Required
By default, no mirroring
group exists.
Configuring mirroring ports for the remote source mirroring group
If you use system view, you can use a list to configure multiple mirroring ports for a mirroring group at one
time. If you use interface view, you assign only the current port to the group as a mirroring port, so you
must repeat the step for each additional port.
• Configuring mirroring ports in system view
Follow these steps to configure mirroring ports for the remote source mirroring group in system view:
To do… Use the command… Remarks
Enter system view system-view —
Configure mirroring ports for the
remote source mirroring group
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
Required
By default, no mirroring port is
configured for a mirroring group.
• Configuring a mirroring port in interface view
Follow these steps to configure a mirroring port for the remote source mirroring group in interface view:
To do… Use the command… Remarks
Enter system view system-view —
Enter interface view
interface interface-type
interface-number
—
132