229
On the destination device, perform the following tasks:
•
Configure the physical interface corresponding to the tunnel interface as the source port.
•
Configure the port that connects the data monitoring device as the monitor port.
Layer 3 remote port mirroring configuration task list
Tasks at a glance
(Required.) Configuring the source device:
1.
Configuring local mirroring groups
2.
Perform at least one of the following tasks:
Configuring source ports for a local mirroring group
Configuring source CPUs for a local mirroring group
3.
Configuring the monitor port for a local mirroring group
(Required.) Configuring the destination device:
4.
Configuring local mirroring groups
5.
Configuring source ports for a local mirroring group
6.
Configuring the monitor port for a local mirroring group
Configuration prerequisites
Before configuring Layer 3 remote mirroring, complete the following tasks:
•
Create a tunnel interface and a GRE tunnel.
•
Configure the source and destination addresses of the tunnel interface as the IP addresses of
the physical interfaces on the source and destination devices, respectively.
IP addresses of physical interfaces on SA series interface modules cannot be used as the
source or destination IP address for the tunnel interface.
For more information about tunnel interfaces, see
Layer 3—IP Services Configuration Guide
.
Configuring local mirroring groups
Configure a local mirroring group on both the source device and the destination device.
To create a local mirroring group:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a local mirroring
group.
mirroring-group group-id local
By default, no local mirroring
group exists on a device.
Configuring source ports for a local mirroring group
On the source device, configure the ports you want to monitor as the source ports. On the destination
device, configure the physical interface corresponding to the tunnel interface as the source port.
To configure source ports for a mirroring group, use one of the following methods:
•
Assign a list of source ports to the mirroring group in system view.
•
Assign a port to the mirroring group as a source port in interface view.