174
Monitor port: GigabitEthernet1/0/2
Remote probe VLAN: 2
# Display information about all mirroring groups on Device A.
[DeviceA] display mirroring-group all
Mirroring group 1:
Type: Remote source
Status: Active
Mirroring port:
GigabitEthernet1/0/1 Both
Monitor egress port: GigabitEthernet1/0/2
Remote probe VLAN: 2
The output shows that you can monitor all packets received and sent by the Marketing department
on the server.
Local port mirroring with multiple monitor ports configuration
example
Network requirements
As shown in Figure 65, configure port mirroring so servers A, B, and C can monitor the bidirectional
traffic of the three departments.
Figure 65 Network diagram
Configuration procedure
# Create remote source group 1.
<DeviceA> system-view
[DeviceA] mirroring-group 1 remote-source
# Configure GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 as source ports of the remote
source group.
[DeviceA] mirroring-group 1 mirroring-port gigabitethernet 1/0/1 to gigabitethernet 1/0/3
both
# Configure an unused port (GigabitEthernet 1/0/5, for example) of Device A as the reflector port of
the remote source group.
Dept.A
Dept.B
Dept.C
GE1/0/1
GE1/0/2
GE1/0/3
ServerA
ServerB
ServerC
GE1/0/11
GE1/0/12
GE1/0/13
DeviceA