Assigning the monitor port to the remote probe VLAN
Follow these steps to assign the monitor port to the remote probe VLAN:
To do… Use the command… Remarks
Enter system view system-view —
Enter the interface view of the
monitor port
interface interface-type interface-number —
For an access
port
port access vlan vlan-id
For a trunk port port trunk permit vlan vlan-id
Assign the port
to the probe
VLAN
For a hybrid port port hybrid vlan vlan-id { tagged | untagged }
Required
Use one of the
commands
NOTE:
For more information about the port access vlan command, the port trunk permit vlan command, and the
port hybrid vlan command, see the
Layer 2—LAN Switching Command Reference
.
Using the remote probe VLAN to enable local mirroring to
support multiple destination ports
In typical local port mirroring configuration, you can configure only one monitor port in a local mirroring
group. As a result, you cannot monitor traffic of a local device on multiple data monitoring devices. To
do that, you can take advantage of the remote probe VLAN used in Layer 2 remote mirroring.
In Layer 2 remote port mirroring, a remote probe VLAN is configured, and the mirrored packets are
broadcast within the remote probe VLAN. By connecting multiple data monitoring devices to the member
ports of the remote probe VLAN, you can monitor the traffic of the local device on multiple data
monitoring devices.
Configure this feature in the following steps:
1. Configure a remote source mirroring group on the local device
2. Configure the monitored ports on the device as mirroring ports of this mirroring group
3. Configure a remote probe VLAN for this mirroring group
4. Assign the ports connecting the data monitoring devices to the remote probe VLAN
In this way, when packets mirrored on the monitored ports are broadcast in the remote probe VLAN, they
will be sent out the ports connecting the data monitoring devices, and all the data monitoring devices
can thus receive these mirrored packets.
Configuration Procedure
Follow these steps to configure local port mirroring with multiple monitor ports:
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
on a device.
136