1-8 
Network diagram 
Figure 1-3 Network diagram for local port mirroring 
 
 
Configuration procedure 
Configure Switch C: 
# Create a local mirroring group. 
<Sysname> system-view 
[Sysname] mirroring-group 1 local 
# Configure the source ports and destination port for the local mirroring group. 
[Sysname] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both 
[Sysname] mirroring-group 1 monitor-port Ethernet 1/0/3 
# Display configuration information about local mirroring group 1. 
[Sysname] display mirroring-group 1 
mirroring-group 1: 
    type: local 
    status: active 
    mirroring port: 
        Ethernet1/0/1  both 
        Ethernet1/0/2  both 
    monitor port: Ethernet1/0/3 
After the configurations, you can monitor all packets received on and sent from the R&D department 
and the marketing department on the data detection device. 
Remote Port Mirroring Configuration Example 
Network requirements 
The departments of a company connect to each other through 3Com 4210 switches: 
z  Switch A, Switch B, and Switch C are 3Com 4210 series switches. 
z  Department 1 is connected to Ethernet 1/0/1 of Switch A. 
z  Department 2 is connected to Ethernet 1/0/2 of Switch A. 
z  Ethernet 1/0/3 of Switch A connects to Ethernet 1/0/1 of Switch B. 
z  Ethernet 1/0/2 of Switch B connects to Ethernet 1/0/1 of Switch C. 
z  The data detection device is connected to Ethernet 1/0/2 of Switch C.