Use this command to display the status of port mirroring and information about any mirrors configured:
show port mirroring
Use this command and the S- and K-Series platforms to display the status of enhanced port mirroring on the device:
show port mirroring enhanced
This example shows that no port mirrors are configured on the device:
System(rw)->show port mirroring No Port Mirrors configured. IGMP Multicast Mirror status Disabled Mirror Outbound Rate Limited Frames : Disabled
This example shows that a port mirror is configured between source port vtap.0.5 and ge.1.1 and that both received (Rx) and transmitted (Tx) frames will be monitored. It also shows that mirroring status is currently administratively and operationally enabled. A mirror must be administratively enabled (as described in the next section) and its source and destination ports must have an active link for operational status to be enabled.
System(rw)->show port mirroring Port Mirroring ============== Source Port = vtap.0.5 Target Port = ge.1.1 Frames Mirrored = Rx and Tx Admin Status = enabled Operational Status = enabled Mirror Outbound Rate Limited Frames : Disabled
This example shows how to enable ports ge.3.1 and ge.3.4 for enhanced port mirroring and to display enhanced port mirroring status for this device (S-, K-Series):
System(rw)->set port mirroring enhanced enable ge.3.1,4 System(rw)->show port mirroring enhanced Enhanced Port Mirroring ======================= Max Enhanced Mirror Source Ports: 4 Port Admin Status Oper Status ------------ ------------ ------------ ge.3.1 enabled enabled ge.3.4 enabled disable System(rw)->