100Port mirroring configuration examplesLocal port mirroring configuration exampleNetwork requirementsOn the network shown in Figure 35:• Device A connects to the marketing department through Ethernet 1/0/1 and to the technicaldepartment through Ethernet 1/0/2. It connects to the server through Ethernet 1/0/3.• Configure local port mirroring in source port mode to enable the server to monitor the bidirectionaltraffic of the marketing department and the technical department.Figure 35 Network diagramConfiguration procedure1. Create a local mirroring group.# Create local mirroring group 1. system-view[DeviceA] mirroring-group 1 local# Configure Ethernet 1/0/1 and Ethernet 1/0/2 as source ports and port Ethernet 1/0/3 as themonitor port.[DeviceA] mirroring-group 1 mirroring-port Ethernet 1/0/1 Ethernet 1/0/2 both[DeviceA] mirroring-group 1 monitor-port Ethernet 1/0/3# Disable the spanning tree feature on the monitor port Ethernet 1/0/3.[DeviceA] interface Ethernet 1/0/3[DeviceA-Ethernet1/0/3] undo stp enable[DeviceA-Ethernet1/0/3] quit2. Verify the configurations.# Display the configuration of all mirroring groups.[DeviceA] display mirroring-group allmirroring-group 1:type: local