Operation Manual – MirroringH3C S3100 Series Ethernet Switches Chapter 1 Mirroring Configuration1-41.2 Mirroring ConfigurationTable 1-2 Mirroring configuration tasksTask RemarksConfiguring Local Port Mirroring OptionalConfiguring Remote Port Mirroring Optional1.2.1 Configuring Local Port MirroringI. Configuration prerequisitesz The source port is determined and the direction in which the packets are to bemirrored is determined.z The destination port is determined.II. Configuration procedureTable 1-3 Configure local port mirroringOperation Command DescriptionEnter system view system-view —Create a port mirroring group mirroring-groupgroup-id local RequiredIn systemviewmirroring-groupgroup-id mirroring-portmirroring-port-list { both| inbound | outbound }interface interface-typeinterface-numbermirroring-groupgroup-id mirroring-port{ both | inbound |outbound }Configure thesource port for theport mirroring groupIn port viewquitUse eitherapproachYou can configuremultiple sourceports at a time insystem view, oryou can configurethe source port inspecific port view.The configurationsin the two viewshave the sameeffect.In systemviewmirroring-groupgroup-id monitor-portmonitor-port-idinterface interface-typeinterface-numberConfigure thedestination port forthe port mirroringgroup In port viewmirroring-groupgroup-id monitor-portUse eitherapproachThe configurationsin the two viewshave the sameeffect.When configuring local port mirroring, note that: