Configuring a remote destination group 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 groups exist. |
Configuring the monitor port for a remote destination group
To configure the monitor port for a mirroring group, use one of the following methods:
Configure the monitor port for the mirroring group in system view.
Assign a port to the mirroring group as the monitor port in interface view.
When you configure the monitor port for a remote destination group, follow these restrictions and guidelines:
Do not enable the spanning tree feature on the monitor port.
A Layer 2 or Layer 3 aggregate interface cannot be configured as the monitor port for a remote destination group.
Use a monitor port only for port mirroring, so the data monitoring device receives only the mirrored traffic.
A monitor port can belong to only one mirroring group.
Configuring 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 for a remote destination group. | mirroring-group group-id monitor-port interface-type interface-number | By default, no monitor port is configured for a remote destination group. |
Configuring 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 port as the monitor port for a remote destination group. | mirroring-group group-id monitor-port | By default, a port does not act as the monitor port for any remote destination groups. |
Configuring the remote probe VLAN for a remote destination group
When you configure the remote probe VLAN for a remote destination group, follow these restrictions and guidelines:
Only an existing static VLAN can be configured as a remote probe VLAN.
When a VLAN is configured as a remote probe VLAN, use the remote probe VLAN for port mirroring exclusively.
Configure the same remote probe VLAN for the remote groups on the source and destination devices.
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 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 remote probe VLAN. |
| For more information about the port access vlan, port trunk permit vlan, and port hybrid vlan commands, see Layer 2—LAN Switching Command Reference. |