29
MIRRORING CONFIGURATION
Mirroring Overview Mirroring refers to the process of copying packets of one or more ports (source
ports) to a destination port which is connected to a data detection device. Users
can then use the data detection device to analyze the mirrored packets on the
destination port for monitoring and troubleshooting the network.
Figure 97 Implementing Port Mirroring
Local Port Mirroring In local port mirroring, packets passing through one or more source ports of a
device are copied to the destination port on the same device for packet analysis
and monitoring. In this case, the source ports and the destination port must be
located on the same device.
Configuring Local Port
Mirroring
Configuration prerequisites
■ The source port is determined and the direction in which the packets are to be
mirrored is determined.
■ The destination port is determined.
Configuration procedure
PC
Data detection
device
Network
Source port
Destination port
Tab le 237 Configuring local port mirroring
Operation Command Description
Enter system view system-view -
Create a port mirroring
group
mirroring-group group-id
local
Required