
101
status: active
mirroring port:
Ethernet1/0/1 both
Ethernet1/0/2 both
mirroring CPU:
monitor port: Ethernet1/0/3
After the configurations are completed, you can monitor all the packets received and sent by the
marketing department and the technical department on the server.
Local port mirroring with multiple monitor ports configuration
example
Network requirements
As shown in
, Dept. A, Dept. B, and Dept. C are connected to Switch A through ports Ethernet
1/0/1, Ethernet 1/0/2, and Ethernet 1/0/3, 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
DeviceA
Eth1/0/1
Eth1/0/2
Eth1/0/3
Eth1/0/11
Eth1/0/12
Eth1/0/13
ServerA
ServerB
ServerC
Configuration procedure
# Create remote source mirroring group 1.
<SwitchA> system-view
[SwitchA] mirroring-group 1 remote-source
# Configure Ethernet 1/0/1 through Ethernet 1/0/3 as source ports of remote source mirroring group
1.
[SwitchA] mirroring-group 1 mirroring-port ethernet 1/0/1 to ethernet 1/0/3 both
# Configure an unused port (Ethernet 1/0/5 for example) of Switch A as the reflector port of remote
source mirroring group 1.
[SwitchA] mirroring-group 1 reflector-port Ethernet 1/0/5