168
1. Configuring local mirroring groups
2. Configuring source ports 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.
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:
1. Enter 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.
To assign multiple ports to the mirroring group as source ports in interface view, repeat the
operation.
Configuration restrictions and guidelines
When you configure source ports for a local mirroring group, follow these restrictions and guidelines:
• A mirroring group can contain multiple source ports.
• A source port cannot be used as a reflector port, egress port, or monitor port.
• A port can be assigned to different mirroring groups as follows: