To add a description to an Ethernet Switched Port Analyzer (SPAN) or
an Encapsulated Remote Switched Port Analyzer (ERSPAN) session configuration,
use the
description command. To remove the
description, use the
no form of this command.
description description
no description
Syntax Description
description
|
String description of the SPAN session configuration. This
string is limited to 32 characters.
|
Command Default
No description is added.
Command Modes
SPAN session configuration mode (config-monitor)
ERSPAN source session configuration mode (config-erspan-src)
ERSPAN destination session configuration mode (config-erspan-dst)
SPAN-on-Drop session configuration mode (config-span-on-drop)
SPAN-on-Drop ERSPAN session configuration mode (config-span-on-drop-erspan)
SPAN-on-Latency session configuration mode (config-span-on-latency)
SPAN-on-Latency ERSPAN session configuration mode (config-span-on-latency-erspan)
Command History
Release
|
Modification
|
7.0(0)N1(1)
|
This command was modified. This command was implemented in
the following modes: ERSPAN destination session configuration mode,
SPAN-on-Drop session configuration mode, SPAN-on-Drop ERSPAN session
configuration mode, SPAN-on-Latency session configuration mode, and
SPAN-on-Latency ERSPAN session configuration mode.
|
6.0(2)N1(1)
|
This command was introduced.
|
Usage Guidelines
Use the
description command to provide a reminder in
the configuration to describe what certain SPAN and ERSPAN sessions are used
for. The description appears in the output of the following commands such as
show
monitor
session
and
show
running-config
monitor .
Examples
This example shows how to add a description for a SPAN session:
switch# configure terminal
switch(config)# monitor session 9 type local
switch(config-monitor)# description A Local SPAN session
switch(config-monitor)#
This example shows how to add a description for an ERSPAN source
session:
switch# configure terminal
switch(config)# monitor session 9 type erspan-source
switch(config-erspan-src)# description ERSPAN-source-session
switch(config-erspan-src)#
This example shows how to add a description for an ERSPAN destination
session:
switch# configure terminal
switch(config)# monitor session 9 type erspan-destination
switch(config-erspan-dst)# description ERSPAN-destination-session
switch(config-erspan-dst)#
This example shows how to add a description for an SPAN-on-Drop
session:
switch# configure terminal
switch(config)# monitor session 9 type span-on-drop
switch(config-span-on-drop)# description span-on-drop-session
switch(config-span-on-drop)#
This example shows how to add a description for an ERSPAN
SPAN-on-Drop session:
switch# configure terminal
switch(config)# monitor session 9 type span-on-drop-erspan
switch(config-span-on-drop-erpsan)# description span-on-drop-erspan-session
switch(config-span-on-drop-erspan)#
This example shows how to add a description for an SPAN-on-Latency
session:
switch# configure terminal
switch(config)# monitor session 9 type span-on-latency
switch(config-span-on-latency# description span-on-latency-session
switch(config-span-on-latency)#
This example shows how to add a description for an ERSPAN
SPAN-on-Latency session:
switch# configure terminal
switch(config)# monitor session 9 type span-on-latency-erspan
switch(config-span-on-latency-erpsan)# description span-on-latency-erspan-session
switch(config-span-on-latency-erspan)#