Send documentation comments to mdsfeedback-doc@cisco.com
6-115
Cisco MDS 9000 Family Command Reference
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Chapter 6 Debug Commands
debug span
debug span
To enable SPAN debugging, use the debug span command in EXEC mode. To disable a debug
command, use the no form of the command or use the no debug all command to turn off all debugging.
debug span {all | buffer-size bytes | error | event | trace | warning}
no debug span {all | error | event | trace | warning}
Syntax Description
Defaults Disabled.
Command Modes EXEC mode.
Command History
Usage Guidelines None.
Examples The following example displays the system output when the debug span all command is issued:
switch# debug span all
Apr 29 16:06:44 span: span_demux: msg consumed by sdwrap_process msg
Apr 29 16:06:44 span: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr 29 16:06:44 span: fu_fsm_execute_all: null fsm_event_list
Apr 29 16:06:44 span: fu_fsm_engine: mts msg MTS_OPC_DEBUG_WRAP_MSG(msg_id 2548887)
dropped
Apr 29 16:06:48 span: fu_priority_select: - setting fd[3] for select call
Apr 29 16:06:48 span: fu_priority_select_select_queue: round credit(12)
Apr 29 16:06:48 span: curr_q - FU_PSEL_Q_CAT_CQ, usr_q_info(4), priority(7),
credit(6), empty
Apr 29 16:06:48 span: fu_priority_select: returning FU_PSEL_Q_CAT_MTS queue, fd(3),
usr_q_info(2)
Apr 29 16:06:48 span: span_get_data_from_mts_q dequeued mts msg (26e525),
MTS_OPC_DEBUG_WRAP_MSG
all Enables debugging for all SPAN features.
buffer-size bytes Configures event logs buffer size for SPAN. The range is 4096 to 131072.
error Enables debugging for SPAN errors.
event Enables debugging for SPAN events.
ha Enables debugging for SPAN HA.
lib Enables debugging for SPAN library.
trace Enables debugging for SPAN traces.
warning Enables debugging for SPAN warning messages.
Release Modification
1.0(2) This command was introduced.