forwards the packets to the data monitoring device. For more information about GRE tunnels and tunnel
interfaces, see Layer 3—IP Services Configuration Guide.
Figure 61 Layer 3 remote port mirroring implementation
Source
device
XGE1/0/1
Host
Configuring local port mirroring
Local port mirroring takes effect only when the source ports, and the monitor port are configured.
Local port mirroring configuration task list
Tasks at a glance
1.
(Required.)
2.
(Required.)
3.
(Required.)
Creating a local mirroring group
Step
1.
Enter system view.
2.
Create a local mirroring
group.
Configuring source ports for the local mirroring group
You can configure a list of source ports for a mirroring group at a time in system view, or assign a port
to it 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:
Tunnel interface
GRE tunnel
IP network
XGE1/0/2
Original packets
Mirrored packets
Creating a local mirroring group
Configuring source ports for the local mirroring group
Configuring the monitor port for the local mirroring group
Command
system-view
mirroring-group group-id local
Tunnel interface
Destination
XGE1/0/1
Data monitoring
device
Source port
Monitor port
Common port
175
device
XGE1/0/2
Remarks
N/A
By default, no local mirroring
group exists.