Cisco MDS 9000 Family Command Reference, Release 1.3 (from Release 1.3(1) through Release 1.3(6))
Debug Commands

Table Of Contents

Debug Commands

debug aaa

debug all

debug bootvar

debug callhome

debug cdp

debug cimserver

debug core

debug dstats

debug ethport

debug exceptionlog

debug fabric-binding

debug fc-tunnel

debug fc2

debug fc2d

debug fcc

debug fcdomain

debug fcfwd

debug fcns

debug fcs

debug fcsp-mgr

debug fdmi

debug ficon

debug flogi

debug fm

debug fspf

debug hardware arbiter

debug idehsd

debug ilc_helper

debug ipacl

debug ipconf

debug ipfc

debug ips

debug klm

debug license

debug logfile

debug mcast

debug mip

debug module

debug ntp

debug platform

debug port

debug port-channel

debug qos

debug radius

debug rd-reg

debug rdl errors

debug rib

debug rlir

debug rscn

debug scsi-target

debug security

debug sensor

debug snmp

debug span

debug system health

debug tacacs+

debug tcap

debug tlport

debug ttyd

debug vni

debug vrrp

debug vsan

debug wr-reg

debug wwn

debug xbar

debug xbc

debug zone


Debug Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All debug commands are issued in EXEC mode and are shown here in alphabetical order. For more information, refer to the Cisco MDS 9000 Family Troubleshooting Guide and the Cisco MDS 9000 Family System Messages Guide.

Using the CLI, you can enable debugging modes for each switch feature and view a real-time updated activity log of the control protocol exchanges. Each log entry is time-stamped and listed in chronological order. Access to the debug feature can be limited through the CLI roles mechanism and can be partitioned on a per-role basis.

debug aaa

debug all

debug bootvar

debug callhome

debug cdp

debug cimserver

debug core

debug ethport

debug exceptionlog

debug fabric-binding

debug fc-tunnel

debug fc2

debug fc2d

debug fcc

debug fcdomain

debug fcfwd

debug fcns

debug fcs

debug fcsp-mgr

debug flogi

debug fspf

debug hardware arbiter

debug idehsd

debug ipconf

debug ipfc

debug ips

debug logfile

debug mcast

debug mip

debug module

debug ntp

debug platform

debug port

debug port-channel

debug qos

debug radius

debug rd-reg

debug rdl errors

debug rib

debug rscn

debug scsi-target

debug security

debug sensor

debug snmp

debug span

debug system health

debug tacacs+

debug tcap

debug tlport

debug ttyd

debug vni

debug vrrp

debug vsan

debug wr-reg

debug wwn

debug xbar

debug xbc

debug zone

debug aaa

To enable debugging for boot variables, use the debug aaa command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug aaa {all | conf-events | errors | events | mts}

no debug aaa {all | conf-events | errors | events | mts}

Syntax Description

all

Enables all AAA debug options.

conf-events

Enables AAA configuration events debugging.

errors

Enables debugging for AAA errors.

events

Enables debugging for AAA events.

mts

Enables AAA transmit and receive MTS packets debugging.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug aaa conf-events command is issued:

switch# debug aaa conf-events 
Nov 20 06:29:52 aaa: aaa_cleanup_session
Nov 20 06:29:52 aaa: mts_drop of request msg
Nov 20 06:29:52 aaa: Configured method local Succeeded
Nov 20 06:29:58 aaa: Src: 0x00000101/10886  Dst: 0x00000101/0  ID: 0x003
ize: 197 [REQ] Opc: 8402 (MTS_OPC_AAA_REQ) RR: 0x003A48F7  HA_SEQNO: 0x0
 TS: 0x9FC1C1234E7C  REJ:0  SYNC:0
Nov 20 06:29:58 aaa: 01 01 0C 00 00 00 00 00 00 00 00 00 00 00 02 01
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 06 08 00 03 05 00 00 00 00
Nov 20 06:29:58 aaa: 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Nov 20 06:29:58 aaa: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

debug all

To enable debugging for all features on the switch, use the debug all command in EXEC mode. You can disable this command and turn off all debugging by using the no form of this command.

debug all

no debug all

Syntax Description

This command has no arguments or keywords.

Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug all command is issued:

switch# debug all

debug bootvar

To enable debugging for boot variables, use the debug bootvar command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug bootvar {all | errors | events | info | pss}

no debug bootvar {all | errors | events | info | pss}

Syntax Description

all

Enables all boot variable debug options.

errors

Enables debugging for boot variable errors.

events

Enables debugging for boot variable events.

info

Enables debugging for boot variable information.

pss

Enables debugging for boot variable PSS operations.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug bootvar all command is issued:

switch# debug bootvar all

debug callhome

To enable debugging for the Call Home function, use the debug callhome command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug callhome {all | events | mts}

no debug callhome {all | events | mts}

Syntax Description

all

Enables debugging for all Call Home features.

events

Enables debugging for all Call Home events.

mts

Enables debugging for all Call Home tx/rx packets of MTS


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

The debug callhome command, when used with the all parameter, displays the troubleshooting information for both Call Home event traces and a dump of the messaging and transaction service (MTS) messages that the Call Home function receives.


Note The debug Call Home function displays event traces for both successful and unsuccessful Call Home e-mail transmissions.


Examples

The following example displays the system output when the debug callhome events command is issued:

switch# debug callhome events
2005-03-09T05:37:21 2005 Mar  9 05:37:21 callhome: filling in name field with Test
2005 Mar  9 05:37:21 callhome: filling in the header list
2005 Mar  9 05:37:21 callhome: filling up the chassis list
2005 Mar  9 05:37:21 callhome: filling up the main body list
2005 Mar  9 05:37:21 callhome: filling up the fru list 2005 Mar  9 05:37:21 callhome: 
Entering function do_event_correlation
2005 Mar  9 05:37:21 callhome: getting dest profiles for alert group test
2005 Mar  9 05:37:21 callhome: getting dest profiles for alert group cisco-tac
2005 Mar  9 05:37:21 callhome: Applying the event rule for destination profile full_txt
2005 Mar  9 05:37:21 callhome: Applying the event rule for destination profile short_txt
2005 Mar  9 05:37:21 callhome: Applying the event rule for destination profile xml 2005 
Mar  9 05:37:21 callhome: Applying the event rule for destination profile basu
2005 Mar  9 05:37:21 callhome: Exiting function do_event_correlation
2005 Mar  9 05:37:21 callhome: running cli commands for alert name : Test, message id : 
1540383426
2005 Mar  9 05:37:21 callhome: process scheduled for running cli commands for alert Test, 
message id 1540383426, destination profile basu
2005 Mar  9 05:37:21 callhome: process scheduled for running cli commands for alert Test, 
message id 1540383426, destination profile xml
2005 Mar  9 05:37:21 callhome: process scheduled for running cli commands for alert Test, 
message id 1540383426, destination profile short_txt
.
.

The following example displays the system output when the debug callhome mts command is issued:

switch# debug callhome mts
Apr  8 13:09:42 callhome: Src: 0x00000501/4067  Dst: 0x00000501/66  ID: 0x0004FA
0D  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x0004FA0D  HA_SEQNO:
0x00000000  TS: 0x86708AFE37B  REJ:0
Apr  8 13:09:42 callhome: 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00
Apr  8 13:09:42 callhome: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 13:09:42 callhome: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
...
Apr  8 13:09:42 callhome: Src: 0x00000501/4067  Dst: 0x00000501/66  ID: 0x0004FA
10  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x0004FA10  HA_SEQNO:
0x00000000  TS: 0x86708D6A974  REJ:0
Apr  8 13:09:42 callhome: 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00
Apr  8 13:09:42 callhome: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 13:09:42 callhome: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
...

debug cdp

To enable debugging for the CDP function, use the debug cdp command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug cdp {all | errors | events {mts | packets | pss}}
[interface {gigabitethernet slot/port | mgmt 0}]

no debug cdp {all | errors | events {mts | packets | pss}}
[interface {gigabitethernet slot/port | mgmt 0}]

Syntax Description

all

Enables debugging for all CDP features.

errors

Enables debugging for CDP error conditions.

events

Enables debugging for CDP events.

mts

Enables debugging for CDP tx/rx MTS packets.

packets

Enables debugging for CDP tx/rx CDP packets.

pss

Enables debugging for all PSS related CDP events.

interface

Specifies debugging for the specified interface.

gigbitethernet slot/port

Specifies the Gigabit Ethernet interface slot and port.

mgmt 0

Specifies the management interface.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.1(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug cdp events packets command is issued:

switch# debug cdp events packets
Apr  8 21:22:34 cdp: Sent CDP packet, interface 0x2380000
Apr  8 21:22:34 cdp: Sent CDP packet, interface 0x2381000
Apr  8 21:22:35 cdp: Sent CDP packet, interface 0x2382000
Apr  8 21:22:35 cdp: Sent CDP packet, interface 0x2383000
Apr  8 21:22:51 cdp: Received CDP packet, interface 0x5000000
Apr  8 21:23:01 cdp: Sent CDP packet, interface 0x5000000
Apr  8 21:23:34 cdp: Sent CDP packet, interface 0x2380000
Apr  8 21:23:34 cdp: Sent CDP packet, interface 0x2381000
Apr  8 21:23:35 cdp: Sent CDP packet, interface 0x2382000
...

debug cimserver

To enable debugging for the Common Information Model (CIM) management applications function, use the debug cimserver command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug cimserver {all | errors | events | mts | trace}

no debug cimserver {all | errors | events | mts | trace}

Syntax Description

all

Enables debugging for all CIM features.

errors

Enables debugging for CIM error conditions.

events

Enables debugging for CIM events.

mts

Enables debugging for CIM tx/rx MTS packets.

trace

Enables debugging for CIM traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug cimserver all command is issued:

switch# debug cimserver all
2004 Mar 29 20:05:22 cimsrvprov: cim_mts_dispatch(): Opcode is 182

debug core

To enable core daemon debugging, use the debug core command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug core {error | flow}

no debug core {error | flow}

Syntax Description

error

Enables debugging for core demon error conditions.

flow

Enables debugging for the core demon flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug core flow command is issued:

switch# debug core flow 

debug dstats

To enable delta statistics debugging, use the debug dstats command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug dstats {error | flow}

no debug dstats {error | flow}

Syntax Description

error

Enables debugging for delta statistics error conditions.

flow

Enables debugging for the delta statistics flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug dstats flow command is issued:

switch# debug dstats flow 

debug ethport

To enable Ethernet port debugging, use the debug ethport command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ethport {all | error |
event [interface gigabitethernet slot/port | module slot] |
ha [interface gigibetethernet slot/port | module slot] |
trace [interface gigibetethernet slot/port | module slot]}

no debug ethport {all | error |
event [interface gigabitethernet slot/port | module slot] |
ha [interface gigibetethernet slot/port | module slot] |
trace [interface gigibetethernet slot/port | module slot]}

Syntax Description

all

Enables debugging for all Ethernet port features.

error

Enables debugging for Ethernet port error conditions.

event

Enables debugging for Ethernet port events.

ha

Enables debugging for port high availability.

trace

Enables debugging for Ethernet port traces.

interface gigibetethernet slot/port

Specifies the slot and port of the Gigabit Ethernet interface.

module slot

Specifies the slot number of the module being debugged.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ethport all command is issued:

switch# debug ethport all 
1981 May  5 07:28:59 ethport: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
1981 May  5 07:28:59 ethport: fu_fsm_execute_all: null fsm_event_list
1981 May  5 07:28:59 ethport: fu_fsm_engine_post_event_processing: mts msg 
MTS_OPC_DEBUG_WRAP_MSG(msg_id 52343) dropped

debug exceptionlog

To enable the exception log debugging feature, use the debug exceptionlog command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug exceptionlog {demux | deque | error | flow | info}

no debug exceptionlog {demux | deque | error | flow | info}

Syntax Description

demux

Enables debugging for the exception logger demux functions.

deque

Enables debugging for the exception logger deque function.

error

Enables debugging for exception logger errors.

flow

Enables debugging for the exception logger flow.

info

Enables debugging for exception logger information.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug exceptionlog command is issued:

switch# debug exceptionlog 
7), credit(3), empty

debug fabric-binding

To enable debugging for the fabric binding feature, use the debug fabric-binding command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fabric-binding {all | efmd {db-events | errors | merge {errors | events | packets}} | mts-events | pss-events} | errors [vsan vsan-id] | events [vsan vsan-id] | mts-events | pss-events | snmp-events | trace [vsan vsan-id]}

no debug fabric-binding {all | efmd {db-events | errors | merge {errors | events | packets}} | mts-events | pss-events} | errors [vsan vsan-id] | events [vsan vsan-id] | mts-events | pss-events | snmp-events | trace [vsan vsan-id]}

Syntax Description

all

Enables debugging for all fabric binding features.

efmd

Enables debugging for Exchange Fabric Membership Data (EFMD) protocol.

db-events

Enables debugging for EFMD protocol database events.

merge

Enables debugging for EFMD protocol merges.

packets

Enables debugging for EFMD protocol packets.

errors

Enables debugging for fabric binding errors.

vsan vsan-id

Specifies the VSAN ID. The range is 1 to 4093.

events

Enables debugging for fabric binding events.

mts-events

Enables debugging for fabric binding MTS events.

pss-events

Enables debugging for fabric binding PSS events.

snmp-events

Enables debugging for fabric binding SNMP events

trace

Enables debugging for fabric binding traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fabric-binding all command is issued:

switch# debug fabric-binding all

debug fc-tunnel

To enable debugging for the Fibre Channel tunnel feature, use the debug fc-tunnel command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fc-tunnel {all | errors | external-events | ha | label-update | mts {pkt | pkthdr} {both | rx | tx} | pss | route-update [vsan vsan-id] | rsvp-messages [tunnel tunnel-id | vsan vsan-id] | state-machine}

no debug fc-tunnel {all | errors | external-events | ha | label-update | mts {pkt | pkthdr} {both | rx | tx} | pss | route-update [vsan vsan-id] | rsvp-messages [tunnel tunnel-id | vsan vsan-id] | state-machine}

Syntax Description

all

Enables debugging for all FC tunnel features.

errors

Enables debugging for FC tunnel errors.

external-events

Enables debugging for external FC tunnel events.

ha

Enables debugging for FC tunnel high availability (HA) events.

label-update

Enables debugging for FC tunnel label updates.

mts

Enables debugging for FC tunnel MTS events.

pkt

Specifies debugging of packets.

pkthdr

Specifies debugging of headers.

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction.

rx

Specifies debugging in the receive direction.

pss

Enables debugging for FC tunnel PSS events.

route-update

Enables debugging for FC tunnel route updates.

vsan vsan-id

Specifies the VSAN ID. The range is 1 to 4093.

rsvp-messages

Enables debugging for FC tunnel SNMP events

tunnel tunnel-id

Specifies the tunnel ID. The range is 1 to 255.

state-machine

Enables debugging for FC tunnel traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fc-tunnel all command is issued:

switch# debug fc-tunnel all

debug fc2

To enable debugging for the FC2 feature, use the debug fc2 command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fc2 {credit |
error [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]
flag |
flow [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | (interface fc type number | vsan vsan-id) |
frame |
loopback |
pkt {both | tx | rx} [bytes bytes | fcid fcid [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]] | pkts pkts [bytes bytes] | vsan vsan-id [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]]] |
pkthdr {both | tx | rx} [bytes bytes | fcid fcid [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]] | pkts pkts [bytes bytes] | vsan vsan-id [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]]] |
rdl |
rxhdrhistory [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]
txhdrhistory [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]}

no debug fc2 {credit |
error [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]
flag |
flow [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | (interface fc type number | vsan vsan-id) |
frame |
loopback |
pkt {both | tx | rx} [bytes bytes | fcid fcid [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]] | pkts pkts [bytes bytes] | vsan vsan-id [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]]] |
pkthdr {both | tx | rx} [bytes bytes | fcid fcid [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]] | pkts pkts [bytes bytes] | vsan vsan-id [bytes bytes | interface {fc slot/port | fcip port} [bytes bytes | pkts pkts [bytes bytes]]] |
rdl |
rxhdrhistory [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]
txhdrhistory [fcid fcid [interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]] | interface {fc slot/port | fcip port} | vsan vsan-id [interface {fc slot/port | fcip port}]]}

Syntax Description

credit

Enables FC2 credit debugging.

error

Enables FC2 error debugging.

fcid fcid

Restricts debugging to the specified FCID.

interface

Restricts debugging to the specified interface.

fc slot/port

Restricts debugging to the specified interface.

fcip port

Restricts debugging to the specified interface.

vsan vsan-id

Restricts debugging to the specified VSAN.

flag

Enables FC2 flags debugging.

flow

Enables FC2 flow debugging.

frame

Enables FC2 frame debugging.

loopback

Enables FC2 loopback debugging.

pkt

Enables FC packet debugging.

both

Enables debugging in both the transmit and receive directions.

tx

Enables debugging in the transmit direction,

rx

Enables debugging in the receive direction.

bytes bytes

Specifies the number of bytes to display.

pkts pkts

Specifies the number of packets to display.

pkthdr

Enables FC header debugging.

rdl

Enables FC2 RDL debugging.

rxhdrhistory

Enables FC2 received header history debugging.

txhdrhistory

Enables FC2 transmitted header history debugging.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

If FSPF receives a bad FC2 packet analyze the output of the debug fc2 pkt command.

Examples

The following example displays the system output when the debug fc2 error vsan 1 command is issued:

switch1# debug fc2 error vsan 1

debug fc2d

To enable debugging for the FC2 feature, use the debug fc2 command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fc2 {all | bypass ficon_mgr | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ha [vsan vsan-id] | trace [detail] [vsan vsan-id] | warning [vsan vsan-id]}

no debug fc2 {all | bypass ficon_mgr | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ha [vsan vsan-id] | trace [detail] [vsan vsan-id] | warning [vsan vsan-id]}

Syntax Description

all

Enables all FC2D debug flags.

demux

Enables debugging of FC2D message demux.

vsan vsan-id

Restricts debugging to the specified VSAN.

deque

Enables debugging of FC2D message dequeue.

error

Enables debugging of FC2D error.

event

Enables debugging of FC2D FSM and Events.

ha

Enables debugging of FC2D HA.

trace

Enables debugging of FC2D trace.

detail

Enables detailed debugging of FC2D trace.

warning

Enables debugging of FC2D warning.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(4).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fc2d all command is issued:

switch1# debug fc2d all
2004 Mar 29 22:57:25 fc2d: fu_fsm_execute_all: match_msg_id(0), log_already_open (0)
2004 Mar 29 22:57:25 fc2d: fu_fsm_execute_all: null fsm_event_list
2004 Mar 29 22:57:25 fc2d: fu_fsm_engine_post_event_processing: mts msg MTS_OPC_
DEBUG_WRAP_MSG(msg_id 6894921) dropped

debug fcc

To enable debugging for the Fibre Channel Congestion (FCC) function, use the debug fcc command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcc {all | error [module slot] | event [module slot] |
mts [pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | tx | rx [numpkt range]}] | trace [module slot]}

no debug fcc {all | error [module slot] | event [module slot] |
mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | tx | rx [numpkt range]}} | trace [module slot]}

Syntax Description

all

Enables debugging for all FCC features.

errors

Enables debugging for FCC error conditions.

events

Enables debugging for FCC events.

mts

Enables debugging for FCC tx/rx MTS packets.

trace

Enables debugging for FCC traces.

module slot

Specifies the slot number of the module being debugged.

pkt

Enables debugging for FCC tx/rx FCC packets.

pkthdr

Enables debugging for FCC tx/rx FCC headers.

numpkt

Specifies the number of required packets

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction,

rx

Specifies debugging in the receive direction.

node

Specifies the node for the packets in the receive direction.

opcode

Specifies the opcode for the packets in the receive direction.

sap

Specifies the sap for the packets in the receive direction.

range

Specifies the integer range from 1 to 4096.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcc all command is issued:

switch# debug fcc all 

debug fcdomain

To enable debugging for the fcdomain feature, use the debug fcdomain command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcdomain {all | critical | error |
fc {pkt | pkthdr} {both | rx | tx} [interface type number [vsan vsan-id] | vsan vsan-id] |
ipc {pkt | pkthdr} {both | rx [node range | opcode range | sap range] | tx} |
memory | notify | phase}

no debug fcdomain {all | critical | error |
fc {pkt | pkthdr} {both | rx | tx} [interface type number [vsan vsan-id] | vsan vsan-id] |
ipc {pkt | pkthdr} {both | rx [node range | opcode range | sap range] | tx} |
memory | notify | phase}

Syntax Description

all

Enables debugging of all fcdomain parameters.

critical

Enables debugging of critical operations.

error

Enables debugging of error operation.

fc

Enables debugging of Fibre Channel Packets and Headers.

ipc

Enables debugging of IPC Packets and Headers.

pkt

Enables debugging of packets.

pkthdr

Enables debugging of headers.

both

Enables debugging in both the transmit and receive directions.

rx

Enables debugging in the receive direction.

interface type number

Specifies the interface to be debugged.

vsan vsan-id

Restricts debugging to the specified VSAN.

tx

Enables debugging in the transmit direction,

memory

Enables debugging of memory operations.

notify

Enables debugging of notifications

phase

Enables debugging of global phases


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcdomain critical command is issued:

switch# debug fcdomain critical
Jan 27 07:04:31 fcdomain: Src: 0x00000501/6243  Dst: 0x00000501/14  ID: 0x0005BF
41  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x0005BF41  HA_SEQNO:
0x00000000  TS: 0x183C4D027F4A3
Jan 27 07:04:31 fcdomain: 00 00 00 00 68 00 00 00 00 00 00 00 00 00 00 00
Jan 27 07:04:31 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 27 07:04:31 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
Jan 27 07:04:31 fcdomain: 2F 64 65 76 2F 70 74 73 2F 30 00 00 00 00 00 00
Jan 27 07:04:31 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
...

The following example displays the system output when the debug fcdomain error command is issued:

switch# debug fcdomain error
Jan 27 07:05:29 fcdomain: Src: 0x00000501/6245  Dst: 0x00000501/14  ID: 0x0005BF
7E  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x0005BF7E  HA_SEQNO:
0x00000000  TS: 0x183D5E63C081A
Jan 27 07:05:29 fcdomain: 00 00 00 00 64 00 00 00 00 00 00 00 00 00 00 00
Jan 27 07:05:29 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Jan 27 07:05:29 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
Jan 27 07:05:29 fcdomain: 2F 64 65 76 2F 70 74 73 2F 30 00 00 00 00 00 00
...

The following example displays the system output when the debug fcdomain ipc pkthdr both command is issued:

vegas2# debug fcdomain ipc pkthdr both
Apr  8 20:44:38 fcdomain: Src: 0x00000501/3883  Dst: 0x00000501/14  ID: 0x00038E
1D  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x00038E1D  HA_SEQNO:
0x00000000  TS: 0x5DD9B14EA3AA  REJ:0
Apr  8 20:44:38 fcdomain: 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
Apr  8 20:44:38 fcdomain: 2F 64 65 76 2F 70 74 73 2F 30 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
...
Apr  8 20:44:38 fcdomain: Src: 0x00000501/3883  Dst: 0x00000501/14  ID: 0x00038E
20  Size: 252 [REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x00038E20  HA_SEQNO:
0x00000000  TS: 0x5DD9B186CCEB  REJ:0
Apr  8 20:44:38 fcdomain: 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF FF
Apr  8 20:44:38 fcdomain: 2F 64 65 76 2F 70 74 73 2F 30 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr  8 20:44:38 fcdomain: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
...

Related Commands

Command
Description

show fcdomain domain-list

Displays current domains in the fabric.

fcdomain

Enables fcdomain features.


debug fcfwd

To enable debugging for the Fibre Channel forwarding feature, use the debug fcfwd command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcfwd {flogimap | idxmap | pcmap | sfib | spanmap} {error | event | trace} [module slot | vsan vsan-id [module slot]]

no debug fcfwd {flogimap | idxmap | pcmap | sfib | spanmap} {error | event | trace} [module slot | vsan vsan-id [module slot]]

Syntax Description

flogimap

Enables flogimap debugging.

idxmap

Enables idxmap debugging.

pcmap

Enables pcmap debugging.

sfib

Enables sfib debugging.

spanmap

Enables spanmap debugging.

error

Enables debugging for FCC error conditions.

event

Enables debugging for FCC events.

trace

Enables debugging for FCC traces.

module slot

Specifies the slot number of the module being debugged.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcfwd error command is issued:

switch# debug fcfwd error

debug fcns

To enable debugging for name server registration, use the debug fcns command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcns {all | errors | events {mts | query | register}} [vsan vsan-id]

no debug fcns {all | errors | events {mts | query | register}} [vsan vsan-id]

Syntax Description

all

Enables debugging for all name server features.

errors

Enables debugging for name server error conditions.

events

Enables debugging for name server events.

mts

Enables debugging for name server tx/rx MTS packets.

query

Enables debugging for name server tx/rx CDP packets.

register

Enables debugging for name server PSS related events.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcns events register vsan 99 command is issued:

switch# debug fcns events register vsan 99
Feb 17 04:42:54 fcns: vsan 99: Got Entry for port-id 27800
Feb 17 04:42:54 fcns: vsan 99: Registered port-name 36a4078be0000021 for port-id 780200
Feb 17 04:42:54 fcns: vsan 99: Registered node-name 36a4078be0000020 for port-id 780200
...

debug fcs

To enable debugging for the fabric configuration server, use the debug fcs command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcs {all | discovery events | errors [vsan vsan-id] | ess-events [vsan vsan-id] |
mts events {brief | detail} | pss events | queries events [vsan vsan-id] |
registrations events [vsan vsan-id] | rscn events [vsan vsan-id] | snmp events}

no debug fcs {all | discovery events | errors [vsan vsan-id] | ess-events [vsan vsan-id] |
mts events {brief | detail} | pss events | queries events [vsan vsan-id] |
registrations events [vsan vsan-id] | rscn events [vsan vsan-id] | snmp events}

Syntax Description

all

Enables debugging for all FCS features.

discovery events

Enables debugging for FCS discovery events.

errors

Enables debugging for FCS error conditions.

mts events

Enables debugging for FCS tx/rx MTS events.

pss events

Enables debugging for FCS

brief

Provides brief information for each event.

detail

Provides detailed information for each event.

queries events

Enables debugging for FCS tx/rx events.

registration events

Enables debugging for FCS PSS related events.

rscn events

Enables debugging for FCS RSCN events.

snmp events

Enables debugging for FCS SNMP events.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcs all command is issued:

switch# debug fcs all

debug fcsp-mgr

To enable debugging for the Fibre Channel Security Protocol (FC-SP) manager, use the debug fcsp-mgr command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fcsp-mgr {all | critical | datastructure | dhchap | error | event-gen | fc2 | fsm | general | ha | init | level1 | level2 | level3 | level4 | level5 | message | mts | notify | trace}

no debug fcsp-mgr {all | critical | datastructure | dhchap | error | event-gen | fc2 | fsm | general | ha | init | level1 | level2 | level3 | level4 | level5 | message | mts | notify | trace}

Syntax Description

all

Enables debugging for all FC-SP features.

critical

Enables debugging of FC-SP critical errors.

datastructure

Enables debugging of FC-SP data structures.

dhchap

Enables debugging of DHCHAP.

error

Enables debugging of FC-SP error.

event-gen

Enables debugging of FC-SP event generation.

fc2

Enables debugging of FC-SP FC2 messages.

fsm

Enables debugging of FC-SP events.

general

Enables general debugging of FC-SP.

ha

Enables debugging of FC-SP High Availability

init

Enables debugging of FC-SP Initialization.

level1

Sets debugging level of FC-SP Mgr to 1.

level2

Sets debugging level of FC-SP Mgr to 2.

level3

Sets debugging level of FC-SP Mgr to 3.

level4

Sets debugging level of FC-SP Mgr to 4.

level5

Set debugging level of FC-SP Mgr to 5.

message

Enables debugging of FC-SP messages.

mts

Enables debugging of FC-SP MTS messages.

notify

Sets debug level to notify.

trace

Enables debugging of FC-SP function enter/exit.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcs all command is issued:

switch# debug fcsp-mgr all
2004 Mar 29 23:33:56 fcsp-mgr: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
2004 Mar 29 23:33:56 fcsp-mgr: fu_fsm_execute_all: null fsm_event_list
2004 Mar 29 23:33:56 fcsp-mgr: fu_fsm_engine_post_event_processing: mts msg MTS_
OPC_DEBUG_WRAP_MSG(msg_id 7061762) dropped

debug fdmi

To enable debugging for the Fabric-Device Management Interface (FDMI) feature, use the debug fdmi command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fdmi {all | errors | fdmi-messages [vsan vsan-id] | ha | mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | tx | rx [numpkt range]}} | pss | trace}

no debug fdmi {all | errors | fdmi-messages [vsan vsan-id] | ha | mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | tx | rx [numpkt range]}} | pss | trace}

Syntax Description

all

Enables debugging for all FDMI features.

errors

Enables debugging for FDMI error conditions.

fdmi-messages

Enables the dump of FDMI PDUs.

ha

Enables the dump of HA synchronization messages.

mts

Enables debugging for FDMI tx/rx MTS events.

pkt

Enables debugging for FCC tx/rx FCC packets.

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction,

rx

Specifies debugging in the receive direction.

node

Specifies the node for the packets in the receive direction.

range

Specifies the integer range from 1 to 4096.

opcode

Specifies the opcode for the packets in the receive direction.

sap

Specifies the sap for the packets in the receive direction.

pkthdr

Enables debugging for FCC tx/rx FCC headers.

numpkt

Specifies the number of required packets

pss

Enables debugging for FDMI PSSs.

trace

Restricts debugging for FDMI traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fdmi all command is issued:

switch# debug fdmi all

debug ficon

To enable debugging for the FI-bre CON-nection (FICON) interface capabilities, use the debug ficon command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ficon {all | bypass {acl | esa | file | pm | postcheck | precheck} |
control-device {all | bypass ficon_mgr | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ficon_mgr | ha [vsan vsan-id] | demux [vsan vsan-id] | sb3 {error | flow} trace [detail] [vsan vsan-id] | warning [vsan vsan-id]} |
error | event | file-trace | ha | max-port-number ports | pss-trace |
stat {all | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ha [vsan vsan-id] | trace [detail] [vsan vsan-id] | warning [vsan vsan-id]} |
timer | trace}

no debug ficon {all | bypass {acl | esa | file | pm | postcheck | precheck} |
control-device {all | bypass ficon_mgr | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ficon_mgr | ha [vsan vsan-id] | demux [vsan vsan-id] | sb3 {error | flow} trace [detail] [vsan vsan-id] | warning [vsan vsan-id]} |
error | event | file-trace | ha | max-port-number port | pss-trace |
stat {all | demux [vsan vsan-id] | deque | error | event [vsan vsan-id] | ha [vsan vsan-id] | trace [detail] [vsan vsan-id] | warning [vsan vsan-id]} |
timer | trace}

Syntax Description

all

Enables debugging for all FICON features.

bypass

Enables bypass flags for FICON error conditions.

acl

Bypass ACL manager execution.

esa

Bypass ESA execution.

file

Bypass file operations execution.

pm

Bypass port manager execution.

postcheck

Bypass post check execution for VSAN enable.

precheck

Bypass precheck execution for VSAN enable.

control-device

Enables the dump of FICON control devices.

all

Specifies all debug flags of FICON control device.

bypass ficon_mgr

Bypass FICON Manager.

demux

Configure debugging of FICON control device message demux.

deque

Configure debugging of FICON control device message deque.

error

Configure debugging of FICON control device error.

event

Configure debugging of FICON control device FSM and Events.

ficon_mgr

Configure debugging of FICON manager control device.

ha

Configure debugging of FICON control device HA.

sb3

Configure debugging of SB3 library.

trace

Configure debugging of FICON control device trace.

warning

Configure debugging of FICON control device warning.

error

Enables debugging for FICON errors.

event

Enables debugging for FICON events.

file-trace

Enables debugging of FICON file flow

ha

Enables the debugging of HA synchronization messages.

max-port-number ports

Specifies maximum number of ports.

pss-trace

Enables debugging of FICON PSS flow.

stat

Enables debugging of FICON statistics.

all

Specifies all debug flags of FICON statistics.

demux

Specifies FICON statistics message demux.

deque

Specifies FICON statistics message deque.

error

Specifies FICON statistics errors.

event

Specifies FICON statistics FSM and events.

ha

Specifies FICON statistics HA.

trace

Specifies FICON statistics trace.

warning

Specifies FICON statistics warnings

timer

Enables debugging of FICON timer messages.

trace

Enables debugging of FICON flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(2).

Usage Guidelines

FICON must be enabled on the switch to use this command.

Examples

The following example displays the system output when the debug ficon all command is issued:

switch# debug ficon all

debug flogi

To enable debugging for the fabric login (FLOGI) feature, use the debug flogi command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug flogi {action [interface type number | vsan vsan-id] |
all |
bypass {acl | dm | dpvm | fcsp | lcp | npiv | ns | pl | pm | pmvc | rib| vsan_mgr | zs} |
demux [interface type number | vsan vsan-id] |
error |
event [interface type number | vsan vsan-id] |
ha [interface type number | vsan vsan-id] |
init [interface type number | vsan vsan-id] |
timers [interface type number | vsan vsan-id] |
trace [interface type number | vsan vsan-id] |
warning}

Syntax Description

action

Enables all FLOGI debug features.

all

Enables all FLOGI debug options.

bypass

Bypass some components in FLOGI execution.

acl

Bypass ACL execution.

dm

Bypass domain manager execution.

dpvm

Bypass DPVM execution.

fcsp

Bypass FCSP execution.

lcp

Bypass LCP execution.

npiv

Bypass NPIV execution.

ns

Bypass name server execution.

pl

Bypass port lock execution.

pm

Bypass port manager execution.

pmvc

Bypass PM VSAN change execution.

rib

Bypass RIB execution.

vsan_mgr

Bypass VSAN manager execution.

zs

Bypass zone server execution.

demux

Enables FLOGI demux

error

Enables debugging for FLOGI error conditions.

event

Enables debugging for FLOGI FSMs and events.

ha

Enables debugging for FLOGI high availability.

init

Enables debugging of FLOGI addition, deletion, and initialization.

timer

Enables debugging for FLOGI message timers

trace

Enables debugging for FLOGI traces.

warning

Enables debugging for FLOGI warnings.

interface type number

Restricts debugging to the specified interface.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug flogi all command is issued:

switch# debug flogi all
Apr  9 22:44:08 flogi: fs_demux: msg consumed by sdwrap_process msg
Apr  9 22:44:08 flogi: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr  9 22:44:08 flogi: fu_fsm_execute_all: null fsm_event_list
Apr  9 22:44:08 flogi: fu_fsm_engine: mts msg MTS_OPC_DEBUG_WRAP_MSG(msg_id 67690) dropped

The following example displays the system output when the debug flogi event command is issued:

switch# debug flogi event
Apr 10 00:07:16 flogi: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr 10 00:07:16 flogi: fu_fsm_execute_all: null fsm_event_list
Apr 10 00:07:16 flogi: fu_fsm_engine: mts msg MTS_OPC_DEBUG_WRAP_MSG(msg_id 71314) dropped

The following example displays the system output when the debug flogi trace command is issued:

switch# debug flogi trace
Apr 10 00:42:36 flogi: fs_genport_vsan_hash_fn: key: 0x1 index: 0x1
Apr 10 00:42:36 flogi: fs_mts_hdlr_fs_flogo: FLOGI HOLD(0x8122144) refcnt:3
Apr 10 00:42:36 flogi: fs_clear_all_outstanding_responses_for_flogi: FLOGI FREE(
a07e00300500252b) refcnt:3

debug fm

To enable feature manager debugging, use the debug fm command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fm {error | flow}

no debug fm {error | flow}

Syntax Description

error

Enables debugging for feature manager error conditions.

flow

Enables debugging for the feature manager flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fm flow command is issued:

switch# debug fm flow 

debug fspf

To enable debugging for the FSPF feature, use the debug fspf command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug fspf {all [interface type number] [vsan vsan-id] |
database [interface type number] [vsan vsan-id |
error |
event [interface type number] [vsan vsan-id] |
fc {pkt | pkthdr} {both | tx | rx} [interface type number] [vsan vsan-id] |
flood [interface type number] [vsan vsan-id] |
ha [interface type number] [vsan vsan-id] |
mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}} |
retrans [interface type number] [vsan vsan-id] |
route |
timer}

no debug fspf {all [interface type number] [vsan vsan-id] |
database [interface type number] [vsan vsan-id |
error |
event [interface type number] [vsan vsan-id] |
fc {pkt | pkthdr} {both | tx | rx} [interface type number] [vsan vsan-id] |
flood [interface type number] [vsan vsan-id] |
ha [interface type number] [vsan vsan-id] |
mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}} |
retrans [interface type number] [vsan vsan-id] |
route |
timer}

Syntax Description

all

Enables debugging for all FSPF features.

database

Enables debugging for the FSPF database.

error

Enables debugging for FSPF error conditions.

events

Enables debugging for FSPF events.

fc

Enables debugging of Fibre Channel Packets and Headers.

ipc

Enables debugging of IPC Packets and Headers.

pkt

Enables debugging for FCC tx/rx FCC packets.

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction,

rx

Specifies debugging in the receive direction.

node

Specifies the node for the packets in the receive direction.

range

Specifies the integer range from 1 to 4096.

opcode

Specifies the opcode for the packets in the receive direction.

sap

Specifies the sap for the packets in the receive direction.

pkthdr

Enables debugging for FCC tx/rx FCC headers.

numpkt

Specifies the number of required packets

flood

Enables debugging for FSPF flooding events.

ha

Enables debugging for FSPF high availability.

mts

Enables debugging for FSPF tx/rx MTS events.

retrans

Enables debugging for FSPF retransmits.

route

Enables debugging for FSPF route computation.

timer

Enables debugging for FSPF timers.

interface type number

Restricts debugging to the specified interface.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

If you receive bad packets on an interface, use the debug fc pkt command.

If you receive an error in processing a packet on an interface in VSAN, turn on debug fspf error to get more information. Make sure there is no misconfiguration of FSPF parameters on the two ends of the interface. Also issue the debug fspf fc pkt command for the specific interface.

If you receive an error in flooding the local LSR in a VSAN issue the debug fspf flood and debug fspf error commands. If error is reported in transmitting packet check if interface is up and turn on debug fc2 error.

If you receive an error in processing a timer event for the interface in a VSAN, issue the debug fspf error command.

If you receive an error in processing due to a wrong MTS message, use the debug fspf mts pkt and debug fspf error commands.

If you receive an error when interacting with RIB, use the debug fspf route command along with the RIB debug traces.

If you receive an error in computing routes for VSANs, issue the debug fspf error and the debug fspf route commands.

If you receive an error due to the interface being stuck in a state other than FULL, use the debug fspf event and debug fspf fc pkt commands on the interfaces involved.

Examples

The following example displays the system output when the debug fspf all command is issued:

switch1# debug fspf all
Apr 5 11:50:01 fspf: Wrong hello interval for packet on interface 100f000 in VSAN 1
Apr 5 11:50:04 fspf: Error in processing hello packet , error code = 4

debug hardware arbiter

To configures debugging for the hardware arbiter driver, use the debug hardware arbiter command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug hardware arbiter {error | flow} [group number]}

no debug hardware arbiter {error | flow} [group number]}

Syntax Description

error

Enables debugging for hardware arbiter kernel errors.

flow

Enables debugging for hardware arbiter kernel flow.

group number

Restricts debugging to the specified group. The range is 0 to 17.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug hardware arbiter error group command is issued:

switch# debug hardware arbiter error group 1

debug idehsd

To enable IDE hot swap handler debugging, use the debug idehsd command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug idehsd {cmd dbglevel [debug-level] | error | flow}

no debug idehsd {cmd dbglevel [debug-level] | error | flow}

Syntax Description

cmd dbglevel

Enables debugging for the IDE hot swap handler.

debug-level

Specifies the debug level (0 to 8).

error

Enables debugging for IDE hot swap handler error conditions.

flow

Enables debugging for IDE hot swap handler flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug idehsd cmd dbglevel command is issued:

switch# debug idehsd cmd dbglevel 5 
set debug level to 5 succeeded

debug ilc_helper

To enable ILC helper debugging, use the debug ilc_helper command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ilc_helper {all | errors | events | info}

no debug ilc_helper {all | errors | events | info}

Syntax Description

all

Enables debugging for all ILC helper features.

errors

Enables debugging for ILC helper error conditions.

events

Enables debugging for the ILC helper events.

info

Enables debugging for ILC helper information.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ilc_helper all command is issued:

switch# debug ilc_helper all

debug ipacl

To enable IP ACL debugging, use the debug ipacl command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ipacl {all | error | event | trace}

no debug ipacl {all | error | event | trace}

Syntax Description

all

Enables debugging for all IP ACL features.

error

Enables debugging for IP ACL error conditions.

event

Enables debugging for the IP ACL events.

trace

Enables debugging for IP ACL trace.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ipacl all command is issued:

switch# debug ipacl all

debug ipconf

To enable IP configuration debugging, use the debug ipconf command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ipconf {all | errors | events | info | pss}

no debug ipconf {all | errors | events | info | pss}

Syntax Description

all

Enables debugging for all IP configuration features.

errors

Enables debugging for IP configuration error conditions.

events

Enables debugging for IP configuration tx/rx MTS events.

info

Enables debugging for IP configuration information.

pss

Enables debugging for IP configuration PSS operations.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ipconf all command is issued:

switch# debug ipconf all

debug ipfc

To enable IPFC debugging, use the debug ipfc command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ipfc {all | errors | events | info | kernel {errors | events}}

Syntax Description

all

Enables debugging for all IPFC features.

errors

Enables debugging for IPFC error conditions.

events

Enables debugging for IPFC tx/rx MTS events.

info

Enables debugging for IPFC information.

kernel

Enables debugging for IPFC kernel operations.

errors

Enables debugging for IPFC kernel error conditions.

events

Enables debugging for IPFC kernel events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ipfc kernel errors command is issued:

switch# debug ipfc kernel errors

debug ips

To enable debugging for the IP storage (IPS) manager, use the debug ips command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ips {acl {flow | flow-detail} | all | demux | error | flow {ethernet | fcip} | fsm | ha | init | iscsi {config | config-detail | flow | flow-detail | msgs} | isns {config | config-detail | error | flow | flow-detail | msgs | packet} | show_all | upgrade}

no debug ips {acl {flow | flow-detail} | all | demux | error | flow {ethernet | fcip} | fsm | ha | init | iscsi {config | config-detail | flow | flow-detail | msgs} | isns {config | config-detail | error | flow | flow-detail | msgs | packet} | show_all | upgrade}

Syntax Description

acl

Enables debugging for ACLs.

flow

Enables debugging for the IPS flow.

flow-detail

Enables detailed debugging for the IPS flow.

all

Enables all IPS debug options.

demux

Enables debugging for IPS demux

error

Enables debugging for IPS error conditions.

ethernet

Restricts debugging to the Ethernet flow

fcip

Restricts debugging to the FCIP flow

fsm

Enables debugging for IPS FSM and events.

ha

Enables debugging for IPS high availability.

init

Enables debugging of IPS addition, deletion, and initialization.

iscsi

Enables debugging of iSCSI.

config

Enables debugging of the iSCSI configuration.

config-detail

Enables detailed debugging of the iSCSI configuration.

msgs

Enables debugging of the iSCSI messages received and responded.

show_all

Enables all debugging IPS manager flags.

upgrade

Enables debugging for upgrade.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.1(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ips show_all command is issued:

switch# debug ips show_all
IPS Manager: 
iSCSI Trace Detail debugging is on

debug klm

To enable kernel loadable module parameter debugging, use the debug klm command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug klm {fc2 {cpuhog seconds | flag flags} | scsi-target {driver | error [vsan vsan-id] [fcid fc-id] | flag flags | flow [vsan vsan-id] [fcid fc-id] | snmp | syscall} | sdip {all | error | flow | warning}}

no debug klm {fc2 {cpuhog seconds | flag flags} | scsi-target {driver | error [vsan vsan-id] [fcid fc-id] | flag flags | flow [vsan vsan-id] [fcid fc-id] | snmp | syscall} | sdip {all | error | flow | warning}}

Syntax Description

fc2

Enables debugging for FC2 driver debug parameters.

cpuhog seconds

Specify the FC2 CPU hog value. The ranges is 0 to 10000 seconds.

flag flags

Specify the flag values. The ranges is 0x0 to 0xffffffff.

scsi-target

Enables debugging for the SCSI target driver.

driver

Enables debugging for SCSI target driver flags.

error

Enables debugging for driver error conditions.

vsan vsan-id

Restricts debugging to the specified VSAN.

fcid fc-id

Restricts debugging to the specified FCID interface.

flow

Enables debugging for SCSI target flow.

snmp

Enables debugging for SCSI target SNMP requests.

syscall

Enables debugging for SCSI target system call request.

sdip

Enables debugging for the SDIP driver.

all

Enables debugging for the SCSI target driver.

flow

Enables debugging for driver flow.

warning

Enables debugging for driver warnings.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug klm scsi-target driver command is issued:

switch# debug klm scsi-target driver

debug license

To enable licensing debugging, use the debug license command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug license {all | errors | event s | mts}

no debug license {all | errors | events | mts}

Syntax Description

all

Enables debugging for all licensing features.

errors

Enables debugging for licensing error conditions.

events

Enables debugging for the licensing events.

mts

Enables debugging for Tx/Rx packets of MTS.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug license all command is issued:

switch# debug license all

debug logfile

To direct the output of the debug commands to a specified file, use the debug logfile command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug logfile filename [size bytes]

Syntax Description

filename

Assigns the name of the log file. Maximum length is 80 characters.

size bytes

Specifies the logfile size in bytes. The range is 4096 to 4194304.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Use this command to log debug messages to a special log file. This file is more secure and easier to process than sending the debug output to the console.

When you use the debug logfile command to create a log file, the file is automatically created in the log: directory on the supervisor module unless you specify a different path.

For example, using the debug logfile command to created a log file named captureDebug, you must enter the dir log://sup-local/? command to find the log file you created. Following example shows you how to find the log file created.

switch# debug logfile captureDebug
switch#  dir log://sup-local/?
  log:                       Enter URL "log:[//<module-number>]/<filename>"
  log://sup-local/dmesg      
  log://sup-local/messages   
  log://sup-local/captureDebug  

switch#  dir log://sup-local/

Examples

The following example redirects the output of the debug commands to the file named sample.

switch# debug logfile sample 

The following example assigns the log file size for the file named sample.

switch# debug logfile sample size 410000

debug mcast

To enable debugging for multicast definitions, use the debug mcast command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug mcast {all | error [vsan vsan-id] [interface fc slot/port] | event [vsan vsan-id] [interface fc slot/port] | mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}} | trace [vsan vsan-id] [interface fc slot/port]]

no debug mcast {all | error [vsan vsan-id] [interface fc slot/port] | event [vsan vsan-id] [interface fc slot/port] | mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}} | trace [vsan vsan-id] [interface fc slot/port]]

Syntax Description

all

Enables debugging for all multicast definitions.

error

Enables debugging for multicast errors.

event

Enables debugging for multicast events.

mts

Enables debugging for multicast tx/rx MTS events.

trace

Enables debugging for multicast traces.

vsan vsan-id

Restricts debugging to the specified VSAN.

interface fc slot/port

Restricts debugging to the specified interface.

pkt

Specifies debugging of packets.

pkthdr

Specifies debugging of headers.

numpkt

Specifies the number of required packets

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction,

rx

Specifies debugging in the receive direction.

node

Specifies the node for the packets in the receive direction.

opcode

Specifies the opcode for the packets in the receive direction.

sap

Specifies the sap for the packets in the receive direction.

range

Specifies the integer range from 1 to 4096.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug mcast all command is issued:

switch# debug mcast all

debug mip

To enable debugging for multiple IP (MIP) kernel drivers, use the debug mip command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug mip {errors | events}

no debug mip {errors | events}

Syntax Description

errors

Enables debugging for MIP error conditions.

events

Enables debugging for MIP events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug mip errors command is issued:

switch# debug mip errors

debug module

To enable debugging for switching or service modules, use the debug module command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug module {all | error [module slot] | event | ha | no-powerdown | trace [module slot]}

no debug module {all | error [module slot] | event | ha | no-powerdown | trace [module slot]}

Syntax Description

all

Enables debugging for all module features.

error

Enables debugging for module error conditions.

event

Enables debugging for module events.

ha

Enables debugging for a module's high availability features.

no-powerdown

Disables the power cycle feature for the module.

trace

Enables debugging for a module's trace flows.

module slot

Restricts debugging to the specified module.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug fcs all command is issued:

switch# debug fcs all
Apr 28 19:23:20 module: fu_fsm_execute: (ID(5): Slot 4, node 0x0402)
Apr 28 19:23:20 module:     current state [LCM_ST_LC_ONLINE]
Apr 28 19:23:20 module:     current event [LCM_EV_LCM_HEARTBEAT_TIMEOUT]
Apr 28 19:23:20 module:     next state    [LCM_ST_LC_ONLINE]
Apr 28 19:23:20 module: fu_add_pss_data: adding data for key <8, 0x3300000000000
004> to the pss runtime service add data list
Apr 28 19:23:20 module: fu_add_pss_data: added key <8, 0x3300000000000004> data
...

debug ntp

To enable debugging for the NTP module, use the debug ntp command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ntp {errors | info}

no debug ntp {errors | info}

Syntax Description

errors

Enables debugging for NTP error conditions.

info

Enables debugging for NTP information and events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ntp errors command is issued:

switch# debug ntp errors

debug platform

To enable debugging for the platform manager, use the debug platform command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug platform {all [fc_id fc-id] | error [module slot] | flow [module slot] | fsm | ha | hitless |
mts {pkt | pkthdr} {tx | rx} | nopowerdown | supervisor-reset}

no debug platform {all [fc_id fc-id] | error [module slot] | flow [module slot] | fsm | ha | hitless |
mts {pkt | pkthdr} {tx | rx} | nopowerdown | supervisor-reset}

Syntax Description

all

Enables debugging for all platform features.

error

Enables debugging for platform-related error conditions.

flow

Enables debugging for platform-related flows.

fsm

Enables debugging for platform-related FSMs.

ha

Enables debugging for platform-related high availability.

hitless

Enables the platform loading feature while the switch is in hitless mode.

mts

Enables debugging for platform-related tx/rx MTS events.

nopowerdown

Enables powering down modules

supervisor-reset

Resets the local supervisor.

fcid f c-id

Restricts debugging to the specified FC ID module number. The range is 0 to 2147483647.

pkt

Enables debugging of packets.

pkthdr

Enables debugging of headers.

tx

Enables debugging in the transmit direction,

rx

Enables debugging in the receive direction.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug platform all command is issued:

switch# debug platform all

debug port

To enable debugging for ports, use the debug port command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug port {all | bypass {acl_manager | domain_manager | fcsp | ficon | fport_server | lcp | loopback_diag | port_channel_mgr | port_lock | qos_mgr | span | switch_wwn | vsan_mgr | wwn_mgr | xbar_mgr | zone_server} | error | event [interface type number | module slot] | ha [interface type number | module slot] | trace [interface type number | module slot]}

no debug port {all | bypass {acl_manager | domain_manager | fcsp | ficon | fport_server | lcp | loopback_diag | port_channel_mgr | port_lock | qos_mgr | span | switch_wwn | vsan_mgr | wwn_mgr | xbar_mgr | zone_server} | error | event [interface type number | module slot] | ha [interface type number | module slot] | trace [interface type number | module slot]}

Syntax Description

all

Enables all port debug options.

bypass

Bypasses some components in port execution.

error

Enables debugging for port error conditions.

event

Enables debugging for port FSMs and events.

ha

Enables debugging for port high availability.

trace

Enables debugging for port traces.

acl_manager

Bypasses ACL manager execution.

domain_manager

Bypasses domain manager execution.

fcsp

Bypasses FCSP execution.

ficon

Bypasses FICON execution.

fport_server

Bypasses FPort server execution.

lcp

Bypasses LCP execution.

loopback_diag

Bypasses loopback diagnostics execution.

port_channel_mgr

Bypasses port channel manager execution.

port_lock

Bypasses port lock execution.

qos_mgr

Bypasses QOS manager execution.

span

Bypasses SPAN execution.

switch_wwn

Bypasses using switch WWN and uses VSAN WWN in ELP.

vsan_mgr

Bypasses VSAN manager execution.

wwn_mgr

Bypasses WWN manager execution.

xbar_mgr

Bypasses XBAR manager execution.

zone_mgr

Bypasses zone manager execution.

interface type number

Restricts debugging to the specified interface.

module slot

Restricts debugging to the specified module.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug port all command is issued:

switch# debug port all
Apr 10 00:49:38 port: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr 10 00:49:38 port: fu_fsm_execute_all: null fsm_event_list
Apr 10 00:49:38 port: fu_fsm_engine: mts msg MTS_OPC_DEBUG_WRAP_MSG(msg_id 40239) dropped

The following example displays the system output when the debug port event command is issued:

switch# debug port event
Apr 10 15:30:35 port: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr 10 15:30:35 port: fu_fsm_execute_all: null fsm_event_list
Apr 10 15:30:35 port: fu_fsm_engine: mts msg MTS_OPC_DEBUG_WRAP_MSG(msg_id 7002)
 dropped
switch# Apr 10 15:30:35 port: fu_priority_select:  - setting fd[3] for select call  - 
setting fd[5] for select call  - setting fd[6] for select call
Apr 10 15:30:35 port: fu_priority_select_select_queue: round credit(16)
Apr 10 15:30:35 port:     curr_q - FU_PSEL_Q_CAT_FD, usr_q_info(32), fd(5), priority(3), 
credit(2), empty
Apr 10 15:30:35 port: fu_priority_select: returning FU_PSEL_Q_CAT_MTS queue, fd(3), 
usr_q_info(8) 

debug port-channel

To enable debugging for PortChannels, use the debug port-channel command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug port-channel {all | error | event | ha | trace | warning}

no debug port-channel {all | error | event | ha | trace | warning}

Syntax Description

all

Enables all PortChannel debug options.

error

Enables debugging for PortChannel error conditions.

event

Enables debugging for PortChannel FSMs and events.

ha

Enables debugging for PortChannel high availability.

trace

Enables debugging for PortChannel traces.

warning

Enables debugging for PortChannel warning.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug port-channel all command is issued:

switch# debug port-channel all

debug qos

To enable debugging for quality of Service (QoS), use the debug qos command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug qos {all [interface fc slot/port] | detail | errors supervisor | flow | trace}

no debug qos {all [interface fc slot/port] | detail | errors supervisor | flow | trace}

Syntax Description

all

Enables all QoS debug options.

interface fc slot/port

Restricts debugging to the specified interface.

detail

Enables all QoS debug output.

errors supervisor

Enables debugging for supervisor QoS error conditions.

flow

Enables flow-level QoS debug options.

trace

Enables debugging for QoS traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug qos all command is issued:

switch# debug qos all

debug radius

To enable debugging for boot variables, use the debug radius command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug radius {aaa-request | aaa-request-lowlevel | all | config | config-lowlevel}

no debug radius {aaa-request | aaa-request-lowlevel | all | config | config-lowlevel}

Syntax Description

aaa-request

Enables RADIUS AAA request debug.

aaa-request-lowlevel

Enables RADIUS AAA request low-level debugging.

all

Enables Enable all the debug flags.

config

Enables RADIUS configuration debugging.

config-lowlevel

Enables RADIUS configuring low-level debugging.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug radius config-lowlevel command is issued:

switch# debug radius config-lowlevel
Nov 20 06:36:42 radius: radius_new_debug_conf_open: entering...
Nov 20 06:36:42 radius: radius_new_conf_close: entering...
Nov 20 06:36:42 radius: radius_new_conf_close: returning 0
Nov 20 06:36:42 radius: radius_new_enable_info_config: entering for Radius Daemon debug
Nov 20 06:36:42 radius: radius_new_debug_conf_open: entering...
Nov 20 06:36:42 radius: radius_new_debug_conf_open: exiting
Nov 20 06:36:42 radius: radius_new_enable_info_config: SET_REQ for Radius Daemon debug 
with 1
Nov 20 06:36:42 radius: radius_new_enable_info_config: SET_REQ done for Radius Daemon 
debug with 1
Nov 20 06:36:42 radius: radius_new_enable_info_config: got back the return value of 
configuration operation:success
Nov 20 06:36:42 radius: radius_new_debug_conf_close: entering...
Nov 20 06:36:42 radius: radius_new_debug_conf_close: returning 0
Nov 20 06:36:42 radius: radius_new_enable_info_config: exiting for Radius Daemon debug

debug rd-reg

To enable debugging for the list of devices using the read-register feature, use the debug rd-reg command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug rd-reg [device-name | register address]

Syntax Description

device-name

Specifies the device name for the required device.

register address

Specifies the register address for the required device.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug rd-reg abc command is issued:

switch# debug rd-reg abc 

debug rdl errors

To enable debugging for RDL errors, use the debug rdl errors command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug rdl errors

Syntax Description

This command has no other arguments or keywords.

Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug rdl errors command is issued:

switch# debug rdl errors 

debug rib

To enable debugging for the routing information base (RIB) feature, use the debug rib command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug rib {all | error | event | trace}

Syntax Description

all

Enables debugging for all RIB features.

detail

Enables detailed debugging for all RIB features.

error

Enables debugging for RIB errors.

event

Enables debugging for RIB events.

trace

Enables debugging for trace events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

If a RIB operation is ignored or not supported, then issue the debug rib all command to find out more details.

Examples

The following example displays the system output when the debug rib error command is issued:

switch# debug rib error 

debug rlir

To enable RLIR debugging, use the debug rlir command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug rlir {all | errors | events | mts-errors | mts-events}

no debug rlir {all | errors | events | mts-errors | mts-events}

Syntax Description

all

Enables debugging for all RLIR features.

errors

Enables debugging for RLIR error conditions.

events

Enables debugging for the RLIR events.

mts-errors

Enables debugging for MTS error conditions.

mts-events

Enables debugging for MTS events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug rlir all command is issued:

switch# debug rlir all

debug rscn

To enable debugging for the registered state change notification (RSCN) feature, use the debug rscn command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug rscn {all | errors | events | mts-errors | mts-events} [vsan vsan-id]

no debug rscn {all | errors | events | mts-errors | mts-events} [vsan vsan-id]

Syntax Description

all

Enables debugging for all RSCN features.

errors

Enables debugging for RSCN errors.

events

Enables debugging for RSCN events.

mts-errors

Enables debugging for RSCN MTS errors.

mts-events

Enables debugging for RSCN MTS events.

vsan vsan-id

Restricts debugging to the specified VSAN.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug rscn errors command is issued:

switch# debug rscn errors 

debug scsi-target

To enable debugging for SCSI targets, use the debug scsi-target command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug scsi-target {error | flow}

no debug scsi-target {error | flow}

Syntax Description

error

Enables debugging for SCSI target daemon error conditions.

flow

Enables debugging for the SCSI target flow.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.1(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug scsi-target flow command is issued:

switch# debug scsi-target flow
Apr 28 21:11:52 vhbad: vhba_mts_handler: sdwrap_dispatch: retval:0
Apr 28 21:11:54 vhbad: vhbad_handle_timeout: timer:1 context:(nil)
Apr 28 21:12:06 vhbad: vhba_mts_handler: sysmgr_dispatch: retval:-1

debug security

To enable debugging for the security and accounting features, use the debug security command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug security {all | events | mts | radius}

no debug security {all | events | mts | radius}

Syntax Description

all

Enables debugging for all security features.

events

Enables debugging for security events.

mts

Enables debugging for security MTS packets.

radius

Enables debugging for RADIUS events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug security radius command is issued:

switch# debug security radius 
Mar  5 00:51:13 securityd: RADIUS is enabled, hence it will be tried first for CHAP 
authentication
Mar  5 00:51:13 securityd: reading RADIUS configuration
Mar  5 00:51:13 securityd: opening radius configuration for group:default
Mar  5 00:51:13 securityd: opened the configuration successfully
Mar  5 00:51:13 securityd: GET request for RADIUS global config
Mar  5 00:51:13 securityd: got back the return value of global radius configuration 
operation:success
Mar  5 00:51:13 securityd: closing RADIUS pss configuration
Mar  5 00:51:13 securityd: opening radius configuration for group:default

debug sensor

To enable debugging for the sensor manager, use the debug sensor command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug sensor {demux | deque | error | info | init}

no debug sensor {demux | deque | error | info | init}

Syntax Description

demux

Enables debugging for sensor demux functions.

deque

Enables debugging for sensor deque events.

error

Enables debugging for sensor errors.

info

Enables debugging for sensor information.

init

Enables debugging for sensor initialization.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Use this command to debug sensor manager events and information.

Examples

The following example displays the system output when the debug sensor info command is issued:

switch# debug sensor info 

Related Commands

Command
Description

show environment temperature

Displays current temperature threshold settings and state.


debug snmp

To enable debugging for the SNMP manager, use the debug snmp command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug snmp
{all |
errors |
mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}}
| pkt-dump |
trace {trace-entryexit | trace-stub}}

no debug snmp
{all |
errors |
mts {pkt {both | rx [node range | opcode range | sap range] | tx} | pkthdr {both | rx [numpkt range] | tx}}
| pkt-dump |
trace [trace-entryexit | trace-stub]}

Syntax Description

all

Enables debugging for all SNMP output.

errors

Enables debugging for SNMP error output.

mts

Enables debugging for SNMP packets and headers.

pkt-dump

Enables a packet dump of debug output.

trace

Enables trace level debug output.

pkt

Specifies debugging of packets.

pkthdr

Specifies debugging of headers.

both

Specifies debugging in both the transmit and receive directions.

tx

Specifies debugging in the transmit direction.

rx

Specifies debugging in the receive direction.

node

Specifies the node for the packets in the receive direction.

opcode

Specifies the opcode for the packets in the receive direction.

sap

Specifies the sap for the packets in the receive direction.

numpkt

Specifies the number of required packets

range

Specifies the integer range from 1 to 4095.

trace-entryexit

Specifies trace-level entry or exit debug output.

trace-stub

Specifies trace-level stub debug output.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug snmp trace command is issued:

switch# debug snmp trace
Apr 29 16:03:34 snmpd[1177]: SDWRAP message Successfully processed

debug span

To enable SPAN debugging, use the debug span command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no 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

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.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

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

debug system health

To enable system health monitoring debugging, use the debug system health command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug system health {all | asic-counters | battery-charger | cache-disk | eobc | error | event | external-loopback | failure-analysis | fc2 | ha | inband | loopback | mgmt | misc | mts | pss | serdes | special | trace | xipc}

no debug system health {all | asic-counters | battery-charger | cache-disk | eobc | error | event | external-loopback | failure-analysis | fc2 | ha | inband | loopback | mgmt | misc | mts | pss | serdes | special | trace | xipc}

Syntax Description

all

Enables debugging of all online health flags.

asic-counters

Enables debugging of system health ASIC statistics.

battery-charger

Enables debugging of system health battery charger tests.

cache-disk

Enables debugging of system health cache-disk tests.

eobc

Enables debugging of system health EOBC tests.

error

Enables debugging of system health error conditions.

event

Enables debugging of system health events.

external-loopback

Enables debugging of system health external loopback tests.

failure-analysis

Enables debugging of system health failure analysis.

fc2

Enables debugging of system health FC2 frames.

ha

Enables debugging of health monitoring HA flags.

inband

Enables debugging of system health inband tests.

loopback

Enables debugging of system health loopback tests.

mgmt

Enables debugging of system health management-port port tests.

misc

Enables debugging of system health misc

mts

Enables debugging of system health MTS

pss

Enables debugging of system health pss

serdes

Enables debugging of system health SerDes tests.

special

Enables debugging of system health special.

trace

Enables debugging of health monitoring trace flags.

xipc

Enables debugging of system health XIPC.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug system health command is issued:

switch# debug system health all

debug tacacs+

To enable debugging for boot variables, use the debug tacacs+ command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug tacacs+ {aaa-request | aaa-request-lowlevel | all | config | config-lowlevel}

no debug tacacs+ {aaa-request | aaa-request-lowlevel | all | config | config-lowlevel}

Syntax Description

aaa-request

Enables TACACS+ AAA request debug.

aaa-request-lowlevel

Enables TACACS+ AAA request low-level debugging.

all

Enables Enable all the debug flags.

config

Enables TACACS+ configuration debugging.

config-lowlevel

Enables TACACS+ configuring low-level debugging.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.3(1).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug tacacs+ config-lowlevel command is issued:

switch# debug tacacs+ config-lowlevel
Nov 20 06:39:44 tacacs: tacacs_debug_conf_open: entering...
172.22.94.252# Nov 20 06:39:44 tacacs: tacacs_debug_conf_open: exiting
Nov 20 06:39:44 tacacs: tacacs_conf_close: entering...
Nov 20 06:39:44 tacacs: tacacs_conf_close: returning 0
Nov 20 06:39:44 tacacs: tacacs_enable_info_config: entering for TACACS+ Daemon debug
Nov 20 06:39:44 tacacs: tacacs_debug_conf_open: entering...
Nov 20 06:39:44 tacacs: tacacs_debug_conf_open: exiting
Nov 20 06:39:44 tacacs: tacacs_enable_info_config: SET_REQ for TACACS+ Daemon debug with 1
Nov 20 06:39:44 tacacs: tacacs_enable_info_config: SET_REQ done for TACACS+ Daemon debug 
with 1
Nov 20 06:39:44 tacacs: tacacs_enable_info_config: got back the return value of 
configuration operation:success
Nov 20 06:39:44 tacacs: tacacs_debug_conf_close: entering...
Nov 20 06:39:44 tacacs: tacacs_debug_conf_close: returning 0
Nov 20 06:39:44 tacacs: tacacs_enable_info_config: exiting for TACACS+ Daemon debug

debug tcap

To enable debugging the exception logger, use the debug tcap command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug tcap {demux | deque | error | info | init}

no debug tcap {demux | deque | error | info | init}

Syntax Description

demux

Enables debugging for terminal capture demux functions.

deque

Enables debugging for terminal capture deque events.

error

Enables debugging for terminal capture errors.

info

Enables debugging for terminal capture information.

init

Enables debugging for terminal capture initialization.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Use this command to debug terminal capture utility events and information.

Examples

The following example displays the system output when the debug tcap demux command is issued:

switch# debug tcap demux 

debug tlport

To enable debugging for TL port interfaces, use the debug tlport command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug tlport {all | errors | events {fc2 {terminal | transit} | mts | pss}} [interface fc slot/port]

no debug tlport {all | errors | events {fc2 {terminal | transit} | mts | pss}} [interface fc slot/port]

Syntax Description

all

Enables debugging for all TL port features.

errors

Enables debugging for TL port error conditions.

events

Enables debugging for TL port monitoring events.

fc2

Enables debugging for TL port monitoring FC 2 events.

terminal

Specifies TL port monitoring FC 2 terminating events.

transit

Specifies TL port monitoring FC 2 transit events.

mts

Enables debugging for TL port monitoring MTS packets.

pss

Enables debugging for TL port monitoring PSS packets.

interface fc slot/port

Restricts debugging to the specified interface.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug tlport events pss command is issued:

switch# debug tlport events pss

debug ttyd

To enable TTYD debugging, use the debug ttyd command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug ttyd {all | errors | events}

no debug ttyd {all | errors | events}

Syntax Description

all

Enables debugging for all TTYD features.

errors

Enables debugging for TTYD error conditions.

events

Enables debugging for TTYD events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug ttyd events command is issued:

switch# debug ttyd events

debug vni

To enable debugging for a virtual network interface (VNI), use the debug vni command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug vni {all | errors | events | info | pss}

no debug vni {all | errors | events | info | pss}

Syntax Description

all

Enables debugging for all VNI features.

errors

Enables debugging for VNI error conditions.

events

Enables debugging for VNI events.

info

Enables debugging for VNI events.

pss

Enables debugging for VNI PSS packets.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug vni all command is issued:

switch# debug vni all
Apr 29 17:00:59 vni: Received MTS message
Apr 29 17:00:59 vni: message not processed by system mgr library , so process it normal 
way

debug vrrp

To enable debugging for a Virtual Router Redundancy Protocol (VRRP), use the debug vrrp command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug vrrp {configuration | engine} {all | error | event | info}

no debug vrrp {configuration | engine} {all | error | event | info}

Syntax Description

configuration

Enables VRRP configuration debugging.

engine

Enables VRRP engine debugging.

all

Enables debugging for all VRRP features.

error

Enables debugging for VRRP error conditions.

event

Enables debugging for VRRP events.

info

Enables debugging for VRRP events.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug vrrp engine all command is issued:

switch# debug vrrp engine all
Apr 29 17:35:58 vrrp_eng: fu_priority_select:  - setting fd[7] for select call - setting 
fd[11] for select call  - setting fd[12] for select call  - setting fd [13] for select 
call  - setting fd[15] for select call
Apr 29 17:35:58 vrrp_eng: fu_priority_select_select_queue: round credit(6)
Apr 29 17:35:58 vrrp_eng:     curr_q - FU_PSEL_Q_CAT_FD, usr_q_info(6), fd(15), 
priority(2), credit(1), empty
Apr 29 17:35:58 vrrp_eng: fu_priority_select: returning FU_PSEL_Q_CAT_FD queue, fd(7), 
usr_q_info(3)
Apr 29 17:35:58 vrrp_eng: heartbeat sent
Apr 29 17:35:58 vrrp_eng: message not processed by system mgr library , so process it 
normal way

debug vsan

To enable debugging for VSANs, use the debug vsan command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug vsan {all | global | ha | info | membership | mts}

no debug vsan {all | global | ha | info | membership | mts}

Syntax Description

all

Enables all debugging flags for the VSAN feature.

global

Enables debugging of events for the VSAN global parameter database

ha

Enables debugging of VSAN's HA-related events.

info

Enables debugging of events for VSAN information database.

membership

Enables debugging of events for VSAN membership database.

mts

Enables debugging of Tx/Rx packets of MTS.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug vsan all command is issued:

switch# debug vsan all

debug wr-reg

To enable debugging for the list of devices using the write-register feature, use the debug wr-reg command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug wr-reg [device-name | register-address]

no debug wr-reg [device-name | register-address]

Syntax Description

device-name

Specifies the device name for the required device.

register-address

Specifies the register address for the required device.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug wr-reg command is issued:

switch# debug wr-reg 

debug wwn

To enable debugging for the world wide name (WWN) manager, use the debug wwn command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug wwn {all | detail | errors | flow | trace}

no debug wwn {all | detail | errors | flow | trace}

Syntax Description

all

Enables all WWN debug options.

detail

Enables all WWN output

error

Enables debugging for WWN error conditions.

flow

Enables flow-level WWN debug options.

trace

Enables debugging for WWN traces.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug wwn all command is issued:

switch# debug wwn all
Apr 29 19:24:17 wwn: 53601-wwnm_sdwrap_dispatch:77|SDWRAP massage Successfully processed
Apr 29 19:24:17 wwn: Src: 0x00000601/5206  Dst: 0x00000601/46  ID: 0x002C7DE4  Size: 252 
[REQ] Opc: 182 (MTS_OPC_DEBUG_WRAP_MSG) RR: 0x002C7DE4  HA_SEQNO: 0x00000000  TS: 
0x55D49A130243  REJ:0
Apr 29 19:24:17 wwn: 2F 64 65 76 2F 70 74 73 2F 30 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Apr 29 19:24:17 wwn: 00 00 00 00 00 00 00 00 2E 00 00 00
Apr 29 19:24:17 wwn: 53601-wwnm_unmask_sigalrm:1261|TRACE: 
FILE=_manager/wwnm/wwnm_utilities.c

debug xbar

To enable crossbar debugging (XBAR), use the debug xbar command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug xbar {all | demux | deque | error [module slot] | fsm [module slot] | ha [module slot] |
init | main}

Syntax Description

all

Enables all XBAR debug options.

demux

Enables debugging for XBAR demux functions.

deque

Enables debugging for XBAR deque events.

error

Enables debugging for XBAR errors.

fsm

Enables debugging for XBAR FSMs.

ha

Enables debugging for XBAR high availability information.

init

Enables debugging for XBAR initialization.

main

Enables XBAR debugging for main functions.

module slot

Specifies the slot number of the module being debugged.


Defaults

Enabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug xbar all command is issued:

switch# debug xbar all
Apr 29 19:48:34 xbar:  its a sdwrap msg, fsm utils dropping the mts msg
Apr 29 19:48:34 xbar: fu_fsm_engine: (Error) SYSERR_FU_xx: 0x10, err_num (16) in demux
Apr 29 19:48:34 xbar: fu_fsm_execute_all: match_msg_id(0), log_already_open(0)
Apr 29 19:48:34 xbar: fu_fsm_execute_all: null fsm_event_list
...

debug xbc

To enable crossbar client debugging (XBC), use the debug xbc command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug xbc {demux | deque | init | main}

no debug xbc {demux | deque | init | main}

Syntax Description

demux

Enables debugging for crossbar demux functions.

deque

Enables debugging for crossbar deque events.

init

Enables debugging for crossbar initialization.

main

Enables debugging for crossbar main functions.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

Use this command to debug crossbar client events and information.

Examples

The following example displays the system output when the debug xbc init command is issued:

switch# debug xbc init

debug zone

To enable debugging for zones, use the debug zone command in EXEC mode. When you finish using a debug command, remember to disable it with its specific no command (or use the no debug all command to turn off all debugging).

debug zone {all |
change {errors | events | packets} |
database {detail | errors | events} |
gs errors {errors | events | packets} |
lun-zoning {errors | events | packets} |
merge {errors | events | packets} |
mts notifications |
pss {errors | events} ||
read-only-zoning {errors | events | packets} |
tcam errors {errors | events | packets} |
transit {errors | events}} [vsan vsan-id]

no debug zone {all |
change {errors | events | packets} |
database {detail | errors | events} |
gs errors {errors | events | packets} |
lun-zoning {errors | events | packets} |
merge {errors | events | packets} |
mts notifications |
pss {errors | events} ||
read-only-zoning {errors | events | packets} |
tcam errors {errors | events | packets} |
transit {errors | events}} [vsan vsan-id]

Syntax Description

all

Enables all zone server debug options.

vsan vsan-id

Restricts debugging to the specified VSAN.

change

Enables debugging for change protocol messages.

database

Enables debugging for the zone database messages.

errors

Enables debugging for zone errors.

events

Enables debugging for zone events.

packets

Enables debugging for zone packets.

database

Enables debugging for database messages.

gs

Enables debugging for GS protocol messages.

lun-zoning

Enables debugging for LUN zoning messages.

merge

Enables debugging for merge protocol messages.

mts notification

Enables debugging for MTS notification messages.

pss

Enables debugging for PSS debug messages

read-only-zoning

Enables debugging for read-only Zoning messages.

tcam

Enables debugging for TCAM messages.

transit

Enables debugging for transit frame messages.


Defaults

Disabled.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

None.

Examples

The following example displays the system output when the debug zone all command is issued:

switch# debug zone all