Configuring a remote destination group (on the destination device)
To configure a remote destination group, make the following configurations on the destination device:
Creating a remote destination group
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a remote destination group. | mirroring-group group-id remote-destination | By default, no remote destination group exists on a device. |
Configuring the monitor port for a remote destination group
Either you can configure the monitor port for a mirroring group in system view, or you can assign the current port to a mirroring group as the monitor port in interface view. The two methods lead to the same result.
When you configure the monitor port for the remote destination group, follow these guidelines:
Do not enable the spanning tree feature on the monitor port.
Hewlett Packard Enterprise recommends that you use a monitor port only for port mirroring. This is to make sure that the data monitoring device receives and analyzes only the mirrored traffic rather than a mix of mirrored traffic and normally forwarded traffic.
You cannot configure the monitor port in a mirroring group as a port in an RRPP ring.
A mirroring group contains only one monitor port.
To configure the monitor port for a remote destination group in system view:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the monitor port. | mirroring-group group-id monitor-port monitor-port-id | By default, no monitor port is configured for a remote destination group. |
To configure the monitor port for a remote destination group in interface view:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter interface view. | interface interface-type interface-number | N/A |
3. Configure the current port as the monitor port for a remote destination group. | [ mirroring-group group-id ] monitor-port | By default, a port does not serve as the monitor port for any remote destination group. |
Configuring the remote probe VLAN for a remote destination group
When you configure the remote probe VLAN for the remote destination group, follow these guidelines:
A VLAN can serve for only one mirroring group.
When a VLAN is configured as a remote probe VLAN, use the remote probe VLAN for port mirroring exclusively. Do not configure a VLAN interface or any other features for the VLAN.
When a VLAN is configured as a remote probe VLAN, you must remove the remote probe VLAN configuration before deleting the VLAN.
When you remove the configuration of a remote probe VLAN, an active mirroring group becomes inactive.
Configure the same remote probe VLAN for the remote destination group on the source device and destination device.
To configure the remote probe VLAN for a remote destination group:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Configure the remote probe VLAN for a remote destination group. | mirroring-group group-id remote-probe vlan rprobe-vlan-id | By default, no remote probe VLAN is configured for a remote destination group. |
Assigning the monitor port to the remote probe VLAN
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter the interface view of the monitor port. | interface interface-type interface-number | N/A |
3. Assign the port to the probe VLAN. |
| Use one of the commands. For more information about the port access vlan, port trunk permit vlan, and port hybrid vlan commands, see Layer 2—LAN Switching Command Reference. |