Network diagram, Configuration procedure, Remote port mirroring configuration example – H3C Technologies H3C S3100 Series Switches User Manual
Page 625: Network requirements

1-8
z
Configure Ethernet 1/0/3 as the mirroring destination port.
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 S3100 Ethernet switches:
z
Switch A, Switch B, and Switch C are S3100 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.