Operation Manual – Port MirroringH3C S5500-EI Series Ethernet Switches Chapter 1 Port Mirroring Configuration1-4Note:z A local mirroring group is effective only when it has both source ports and thedestination port configured.z It is not recommended to enable STP, RSTP or MSTP on the destination port;otherwise, the mirroring function may be affected.z Do not use the destination mirroring port for any purpose other than port mirroring.z The source ports and the destination port cannot be the member ports of the currentmirroring group.z Before adding the destination port for a port mirroring group, make sure the portmirroring group exists. A mirroring group can have only one destination port.1.3 Configuring Remote Port Mirroring1.3.1 Configuring a Remote Source Mirroring GroupFollow these steps to configure a remote port mirroring groupTo do… Use the command… RemarksEnter system view system-view —Create a remotesource mirroring groupmirroring-group group-idremote-source RequiredIn systemviewmirroring-group group-idmirroring-port mirroring-port-list{ both | inbound | outbound }interface interface-typeinterface-number[ mirroring-group group-id ]mirroring-port { both | inbound| outbound }Add portsto themirroringgroup assourceportsIninterfaceviewquitUse either approach.You can add ports toa source portmirroring group ineither system view orinterface view. Theyachieve the samepurpose.In systemviewmirroring-group group-idmonitor-egressmonitor-egress-port-idinterface interface-typeinterface-numbermirroring-group group-idmonitor-egressAdd aport tothemirroringgroup astheoutboundmirroringportIninterfaceviewquitUse either approach.You can add ports toa source mirroringgroup in either systemview or interface view.They achieve thesame purpose.