Port mirroring classification and implementation, Local port mirroring, Remote port mirroring – H3C Technologies H3C MSR 50 User Manual
Page 184: Configuring local port mirroring, Local port mirroring configuration task list

Port mirroring classification and implementation
Port mirroring includes local port mirroring and remote port mirroring based on whether the mirroring
source and the mirroring destination are on the same device.
Local port mirroring
In local port mirroring, the mirroring source and mirroring destination are on the same device. You can
configure local port mirroring by using the mirroring-group command or the mirror command. These
two methods are implemented in different ways:
•
The mirroring-group command mirrors packets at the network layer, whereas the mirror command
mirrors packets at the physical layer, which provides more packet information.
•
The mirroring-group command does not support mirroring on AUX, Bridge-Aggregation, cellular,
Encrypt, null, WLAN-BSS, or WLAN-Ethernet interfaces, whereas the mirror command supports
mirroring on all interfaces on a router.
Remote port mirroring
In remote port mirroring, the mirroring source and the mirroring destination are on different devices. The
source device copies mirrored packets to a remote destination device, which forwards them to the data
monitoring device. Remote port mirroring is implemented by using the mirror command and supports
mirroring on all interfaces on a router.
NOTE:
The mirror command is configured differently in voice interface view. For more information, see
Voice
Configuration Guide.
Configuring local port mirroring
Configuring local port mirroring by using the mirror-group
command
Local port mirroring configuration task list
Create a local mirroring group and then configure one or multiple source ports and a monitor port for the
local mirroring group.
Complete these tasks to configure local port mirroring:
Task Remarks
Creating a local mirroring group
Required.
Configuring source ports for the local mirroring group
Required.
Configuring the monitor port for the local mirroring group
Required.
171