1-10Network diagramFigure 1-3 Network diagram for local port mirroringConfiguration procedureConfigure Switch C:# Create a local mirroring group. 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 GigabitEthernet 1/0/1 GigabitEthernet1/0/2 both[Sysname] mirroring-group 1 monitor-port GigabitEthernet 1/0/3# Display configuration information about local mirroring group 1.[Sysname] display mirroring-group 1mirroring-group 1:type: localstatus: activemirroring port:GigabitEthernet1/0/1 bothGigabitEthernet1/0/2 bothmonitor port: GigabitEthernet1/0/3After the configurations, you can monitor all packets received on and sent from the R&Ddepartment and the marketing department on the data detection device.Remote Port Mirroring Configuration ExampleNetwork requirementsThe departments of a company connect to each other through S5600 Ethernet switches:z Switch A, Switch B, and Switch C are S5600 series switches.z Department 1 is connected to GigabitEthernet 1/0/1 of Switch A.z Department 2 is connected to GigabitEthernet 1/0/2 of Switch A.z GigabitEthernet 1/0/3 of Switch A connects to GigabitEthernet 1/0/1 of Switch B.z GigabitEthernet 1/0/2 of Switch B connects to GigabitEthernet 1/0/1 of Switch C.z The data detection device is connected to GigabitEthernet 1/0/2 of Switch C.