3Com Switch 8800 Advanced Software V5 Configuration Guide
88 CHAPTER 10: PORT MIRRORING CONFIGURATION
Network diagram
Figure 23 Network diagram for local port mirroring configuration
Configuration procedure
1 Configure Switch C.
# Enter system view.
<Sysname> system-view
# Create a local port mirroring group.
[Sysname] mirroring-group 1 local
# Add port Ethernet 1/1/1 and Ethernet 1/1/2 to the port mirroring group as
source ports. Add port Ethernet 1/1/3 to the port mirroring group as the
destination port.
[Sysname] mirroring-group 1 mirroring-port ethernet 1/1/1 ethernet 1/1/2 both
[Sysname] mirroring-group 1 monitor-port ethernet 1/1/3
# Display the configuration of all the port mirroring groups.
[Sysname] display mirroring-group all
mirroring-group 1:
type: local
status: active
mirroring port:
Ethernet1/1/1 both
Ethernet1/1/2 both
monitor port: Ethernet1/1/3
After finishing the configuration, you can monitor all the packets received and
sent by Host A and Host B on the Server.
Remote Port Mirroring
Configuration Example
Network requirements
The user’s network is described as follows:
■ Host A is connected to port Ethernet 1/1/1 of Switch A.
■ Host B is connected to port Ethernet 1/1/2 of Switch A.
Switch A
Switch B
Switch C
Server
Eth1/1/1
Eth1/1/2
Eth1/1/3
Host A
Host B