show running-config monitor

To display the running configuration for the Switched Port Analyzer (SPAN) or Encapsulated Remote Switched Port Analyzer (ERSPAN) session, use the show running-config monitor command.

show running-config monitor [ all ]

Syntax Description

all
(Optional) Displays current SPAN configuration information including default settings.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.
5.1(3)N1(1)
Support for ERSPAN was added.

Examples

This example shows how to display information on the running SPAN configuration:

switch# show running-config monitor
 
!Command: show running-config monitor
!Time: Thu Jan 1 06:48:56 2009
 
version 5.0(2)N1(1)
monitor session 1
description A Local SPAN session
source interface Ethernet1/5 both
destination interface Ethernet1/21
no shut
 
switch#
 

This example shows how to display detailed information on the running SPAN configuration:

switch# show running-config monitor all
 
!Command: show running-config monitor all
!Time: Thu Jan 1 06:51:08 2009
 
version 5.0(2)N1(1)
monitor session 1 type local
description A Local SPAN session
source interface Ethernet1/5 both
destination interface Ethernet1/21
no shut
 
switch#
 

Related Commands

Command
Description
monitor session
Configures SPAN or ERSPAN sessions.
show monitor session
Displays information about SPAN or ERSPAN sessions.