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 mirroring group on the source device and the remote destination mirroring group
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...
Enter system view
Create a remote source mirroring
group
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...
Enter system view
Configure mirroring ports for the
remote source 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...
Enter system view
Enter interface view
Use the command...
system-view
mirroring-group group-id remote-source
Use the command...
system-view
mirroring-group group-id
mirroring-port mirroring-port-list
{ both | inbound | outbound }
Use the command...
system-view
interface interface-type
interface-number
132
Remarks
—
Required
By default, no mirroring
group exists.
Remarks
—
Required
By default, no mirroring port is
configured for a mirroring group.
Remarks
—
—