The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the system management commands that begin with D.
To configure the bootup diagnostic level to trigger diagnostics when the device boots, use the diagnostic bootup level command. To remove bootup diagnostic level configuration, use the no form of this command.
diagnostic bootup level {bypass | complete}
no diagnostic bootup level {bypass | complete}
bypass |
Specifies that all bootup tests are skipped. |
complete |
Specifies that all bootup diagnostics are performed. This is the default value. |
Complete
Global configuration mode
|
|
---|---|
5.2(1)N1(1) |
This command was introduced. |
This example shows how to configure the bootup diagnostics level to trigger the complete diagnostics:
switch(config)# diagnostic bootup level complete
switch(config)#
This example shows how to remove the bootup diagnostics level configuration:
switch(config)# no diagnostic bootup level complete
switch(config)#
|
|
---|---|
show diagnostic bootup level |
Displays the bootup diagnostics level. |
show diagnostic bootup result |
Displays the results of the diagnostics tests. |
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
description |
String description of the SPAN session configuration. This string is limited to 80 characters. |
No description is added.
SPAN session configuration mode
ERSPAN session configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
Use the description command to provide a reminder in the configuration to describe what certain SPAN sessions are used for. The description appears in the output of the following commands such as show monitor session and show running-config monitor.
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 session:
switch# configure terminal
switch(config)# monitor session 9 type erspan-source
switch(config-erspan-src)# description An ERSPAN session
switch(config-erspan-src)#
To configure an Encapsulated Remote Switched Port Analyzer (ERSPAN) destination IP address, use the destination command. To remove the destination ERSPAN IP address, use the no form of this command.
destination ip ip_address
no destination ip ip_address
ip |
Configures the remote IP address. |
ip_address |
IPv4 address in the format A.B.C.D. |
None
ERSPAN session configuration mode
|
|
5.2(1)N1(1) |
This command was introduced. |
You can configure only one destination IP address for an ERSPAN source session.
This command does not require a license.
This example shows how to configure an ERSPAN destination IP address:
switch# configure terminal
switch(config)# monitor session 1 type erspan-source
switch(config-erspan-src)# destination ip 192.0.3.1
switch(config-erspan-src)#
To configure a Switched Port Analyzer (SPAN) destination port, use the destination command. To remove the destination SPAN port, use the no form of this command.
destination interface {ethernet slot/[QSFP-module/]port}
no source interface {ethernet slot/[QSFP-module/]port}
None
SPAN session configuration mode
|
|
6.0(2)N1(2) |
Support for the QSFP+ GEM was added. |
5.2(1)N1(1) |
This command was introduced. |
Each local SPAN session destination session must have a destination port (also called a monitoring port) that receives a copy of traffic from the source port.
The destination port can be any Ethernet physical port and must reside on the same switch as the source port (for a local SPAN session). The destination port cannot be a source port, a port channel, or SAN port channel group.
A destination port receives copies of sent and received traffic for all monitored source ports. If a destination port is oversubscribed, it can become congested. This congestion can affect traffic forwarding on one or more of the source ports.
This example shows how to configure an Ethernet interface SPAN destination port and activate the SPAN session:
switch# configure terminal
switch(config)# interface ethernet 1/5
switch(config-if)# switchport monitor
switch(config-if)# exit
switch(config)# monitor session 9 type local
switch(config-monitor)# description A Local SPAN session
switch(config-monitor)# source interface ethernet 1/1
switch(config-monitor)# destination interface ethernet 1/5
switch(config-monitor)# no shutdown
switch(config-monitor)#