1-11 Port Mirroring ConfigurationWhen configuring port mirroring, go to these sections for information you are interested in:z Introduction to Port Mirroringz Configuring Local Port Mirroringz Configuring Remote Port Mirroringz Displaying and Maintaining Port Mirroringz Port Mirroring Configuration ExamplesIntroduction to Port MirroringPort mirroring is to copy the packets passing through a port (called a mirroring port) to another port(called the monitor port) connected with a monitoring device for packet analysis.You can select to port-mirror inbound, outbound, or bidirectional traffic on a port/VLAN as needed.Classification of Port MirroringPort mirroring can be local or remote.z In local port mirroring, the mirroring port or ports and the monitor port are located on the samedevice.z In remote port mirroring, the mirroring port or ports and the monitor port can be located on thesame device or different devices. Currently, remote port mirroring can be implemented only atLayer 2.As a monitor port can monitor multiple ports, it may receive multiple duplicates of a packet in somecases. Suppose that port P 1 is monitoring bidirectional traffic on ports P 2 and P 3 on the same device.If a packet travels from P 2 to P 3, two duplicates of the packet will be received on P 1.Implementing Port MirroringPort mirroring is implemented through port mirroring groups. There are three types of mirroring groups:local, remote source, and remote destination.The following subsections describe how local port mirroring and remote port mirroring areimplemented.