Mirroring ConfigurationComplete the following tasks to configure mirroring:Task RemarksConfiguring Local Port Mirroring OptionalConfiguring Remote Port Mirroring OptionalOn a Switch 4500, only one destination port for local port mirroring and only one reflector port can beconfigured, and the two types of ports cannot both exist.Configuring Local Port MirroringConfiguration prerequisitesz The source port is determined and the direction in which the packets are to be mirrored isdetermined.z The destination port is determined.Configuration procedureFollow these steps to configure port mirroring on Switch 4500 series:To do… Use the command… RemarksEnter system view system-view —Create a port mirroringgroup mirroring-group group-id local RequiredEnable port mirroring – STPcollaboration mirroring stp-collaborationOptionalThis configuration applies to allports of the current device.By default, port mirroring – STPcollaboration is not enabled.In systemviewmirroring-group group-idmirroring-port mirroring-port-list{ both | inbound | outbound }interface interface-typeinterface-numbermirroring-group group-idmirroring-port { both | inbound |outbound }Configure thesource portfor the portmirroringgroup In port viewquitUse either approachYou can configure multiplesource ports at a time in systemview, or you can configure thesource port in specific port view.The configurations in the twoviews have the same effect.Configure thedestinationIn systemviewmirroring-group group-idmonitor-port monitor-port-idUse either approachThe configurations in the two46-4