show mirror
Syntax
show mirror [<SESSION-ID>] [vsx-peer]
Description
Shows information about mirroring sessions. If
<SESSION-ID>
is not specified, then the command shows a summary of all configured mirroring sessions. If
<SESSION-ID>
is specified, shows detailed information about the specified mirroring session.
Command context
Operator (>
) or Manager (#
)
Parameters
<SESSION-ID>
Specifies a numeric identifier for the session. Range: 1 through 4
[vsx-peer]
Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Usage
Shows information about mirroring sessions. If
<SESSION-ID>
is not specified, then the command shows a summary of all configured mirroring sessions. If
<SESSION-ID>
is specified, shows detailed information about the specified mirroring session.
Admin Status indicates the configured status. Admin Status is one of the following values:
enable
An administrator has entered the
enable
command for that mirroring session.disable
The mirroring session has been configured but not yet enabled, or an administrator has entered the
disable
command for that mirroring session.
Operation Status indicates the status of the mirroring session. Operation Status is one of the following values:
dest_doesnt_exist
The configured destination interface is not found in the system. The mirroring session cannot be enabled.
destination_shutdown
The mirroring session is enabled, but the destination interface is shut down. No traffic can be monitored.
disabled
The mirroring session is disabled and is not in an error condition.
For example, the mirroring session is configured to be in the disabled state by default or by command. The Admin State is
enable
.enabled
The mirroring session is enabled.
external/driver_error
An internal ASIC hardware error occurred.
hit_active_sessions_capacity
The mirroring session could not be enabled because the maximum number of supported mirroring sessions are already enabled.
internal_error
An invalid parameter was passed to the ASIC software layer.
no_dest_configured
The mirroring session does not have a destination interface configured.
no_name_configured
A software error occurred. The mirroring session does not have a session ID in its configuration.
null_mirror
A software error occurred. The session object reference is invalid.
out_of_memory
The system is out of memory, reboot recommended.
unknown_error
An unexpected error occurred.
Examples
Showing summary information about all configured mirroring sessions:
switch# show mirror ID Admin Status Operation Status --- ------------- ---------------------------------------------------- 1 enable enabled 2 disable disabled 3 disable disabled 4 enable internal_error
Showing detailed information about a single mirroring session:
switch# show mirror 3 Mirror Session: 3 Admin Status: disable Operation Status: disabled Comment: Monitor router port ingress-only traffic Source: interface 1/1/2 rx Destination: interface 1/1/3 Output Packets: 0 Output Bytes: 0 switch#