Viewing all mirroring sessions configured on the switch

Syntax

show monitor

If a monitored source for a remote session is configured on the switch, the following information is displayed. Otherwise, the output displays: Mirroring is currently disabled.

Sessions

Lists the four configurable sessions on the switch.

Status

Displays the current status of each session

:
  • active: The session is configured.

  • inactive: Only the destination has been configured; the mirroring source is not configured.

  • not defined: Mirroring is not configured for this session.

Type

Indicates whether the mirroring session is local (port), remote (IPv4), or MAC-based (mac) for local or remote sessions.

Sources

Indicates how many monitored source interfaces are configured for each mirroring session.

Policy

Indicates whether the source is using a classifier-based mirroring policy to select inbound IPv4 or IPv6 traffic for mirroring.

If a remote mirroring endpoint is configured on the switch, the following information is displayed. Otherwise, the output displays: There are no Remote Mirroring endpoints currently assigned.

Type

Indicates whether the mirroring session is local (port), remote (IPv4), or MAC-based (mac) for local or remote sessions.

UDP Source Addr

The IP address configured for the source VLAN or subnet on which the monitored source interface exists. In the configuration of a remote session, the same UDP source address must be configured on the source and destination switches.

UDP port

The unique UDP port number that identifies a remote session. In the configuration of a remote session, the same UDP port number must be configured on the source and destination switches.

UDP Dest Addr

The IP address configured for the destination VLAN or subnet on which the remote exit port exists. In the configuration of a remote session, the same UDP destination address must be configured on the source and destination switches.

Dest Port

Identifies the exit port for a remote session on a remote destination switch.

Displaying the currently configured mirroring sessions on the switch