Mirroring Examples
-
To create a named mirror instance:
create mirror mirror_name
-
To enable mirroring on multiple ports, use the following
command:
configure mirror mirror_name to port-list port-list loopback-port port
The port-list is a list of monitor ports that transmit identical copies of mirrored packets. The loopback-port is an unused port that is required when you mirror to a port-list. The loopback-port is not available for switching user data traffic. Certain L2 control protocol packets, such as STP, LACP, and LLDP, cannot be mirrored with one-to-many mirroring.
-
Mirroring is disabled by default. To enable mirroring on a
single port, use the following command:
enable mirror mirror name
-
To disable mirroring, use the following command:
disable mirror
Note
When you change the mirroring configuration, the switch stops sending egress packets from the monitor port until the change is complete. The ingress mirroring traffic to the monitor port and regular traffic are not affected.