220
Figure 63 Layer 3 remote port mirroring implementation
Configuring local port mirroring
A local mirroring group takes effect only when you configure the monitor port and the source ports or
source CPUs for the local mirroring group.
Local port mirroring configuration task list
Tasks at a glance
1.
Creating a local mirroring group
2.
(Required.) Perform at least one of the following tasks:
Configuring source ports for the local mirroring group
Configuring source CPUs for the local mirroring group
3.
Configuring the monitor port for the local mirroring group
Creating 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.
Configuring source ports for the local mirroring group
To configure source ports for a local 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:
Data monitoring
device
IP network
GRE tunnel
Tunnel
interface
Source
device
Destination
device
Host
GE1/0/1
GE1/0/2
GE1/0/1
GE1/0/2
Tunnel
interface
Source port
Monitor port
Original packets
Common port
Mirrored packets