Local port mirroring with multiple monitor ports
configuration example
Network requirements
As shown in
Ten-GigabitEthernet 1/1/5, Ten-GigabitEthernet 1/1/6, and Ten-GigabitEthernet 1/1/7, respectively.
Configure port mirroring to enable all three data monitoring devices (Server A, Server B, and Server C),
to monitor both the incoming and outgoing traffic of the three departments.
Figure 36 Network diagram
Dept.A
Dept.B
Dept.C
Configuration procedure
# Create remote source mirroring group 1.
<DeviceA> system-view
[DeviceA] mirroring-group 1 remote-source
# Configure Ten-GigabitEthernet 1/1/5 through Ten-GigabitEthernet 1/1/7 as source ports of remote
source mirroring group 1.
[DeviceA] mirroring-group 1 mirroring-port ten-gigabitethernet 1/1/5 to
ten-gigabitethernet 1/1/7 both
# Configure an unused port (Ten-GigabitEthernet 1/1/8, for example) of Device A as the reflector port
of remote source mirroring group 1.
[DeviceA] mirroring-group 1 reflector-port ten-gigabitethernet 1/1/8
This operation may delete all settings made on the interface. Continue? [Y/N]:y
# Create VLAN 10 and assign the three ports (Ten-GigabitEthernet 1/1/10 through Ten-GigabitEthernet
1/1/12) connecting the three data monitoring devices to VLAN 10.
[DeviceA] vlan 10
[DeviceA-vlan10] port ten-gigabitethernet 1/1/10 to ten-gigabitethernet 1/1/12
[DeviceA-vlan10] quit
Figure
36, Dept. A, Dept. B, and Dept. C are connected to Device A through ports
XGE1/1/5
XGE1/1/6
XGE1/1/7
ServerA
ServerB
XGE1/1/10
XGE1/1/11
XGE1/1/12
ServerC
116