A P P E N D I X B Troubleshooting Tools And Methodology; Command-Line Interface Troubleshooting Commands; Cli Debug - Cisco 9134 - MDS Multilayer Fabric Switch Troubleshooting Manual

Mds 9000 family
Hide thumbs Also See for 9134 - MDS Multilayer Fabric Switch:
Table of Contents

Advertisement

Using Cisco MDS 9000 Family Tools
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

Command-Line Interface Troubleshooting Commands

The command-line interface (CLI) lets you configure and monitor a Cisco MDS 9000 Family switch
using a local console or remotely using a Telnet or SSH session. The CLI provides a command structure
similar to Cisco IOS
roles-based access control.
Use the show running interface CLI command to view the interface configuration in Cisco SAN-OS
Note
Release 3.0(1) or later. The interface configuration as seen in the show running-config CLI command
is no longer consolidated.

CLI Debug

The Cisco MDS 9000 Family switches support an extensive debugging feature set for actively
troubleshooting a storage network. 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. While debug commands show realtime
information, the show commands can be used to list historical information as well as realtime.
You can log debug messages to a special log file, which is more secure and easier to process than sending
Note
the debug output to the console.
By using the '?' option, you can see the options that are available for any switch feature, such as FSPF.
A log entry is created for each entered command in addition to the actual debug output. The debug output
shows a time-stamped account of activity occurring between the local switch and other adjacent
switches.
You can use the debug facility to keep track of events, internal messages, and protocol errors. However,
you should be careful with using the debug utility in a production environment, because some options
may prevent access to the switch by generating too many messages to the console or if very
CPU-intensive may seriously affect switch performance.
We recommend that you open a second Telnet or SSH session before entering any debug commands. If
Note
the debug session overwhelms the current output window, you can use the second session to enter the
undebug all command to stop the debug message output.
The following is an example of the output from the debug flogi event command:
switch# debug flogi event interface fc1/1
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi: fu_fsm_execute: ([1]21:00:00:e0:8b:08:96:22)
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi: fu_fsm_execute: ([1]21:00:00:e0:8b:08:96:22)
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Dec 10 23:40:26 flogi:
Cisco MDS 9000 Family Troubleshooting Guide, Release 3.x
B-2
®
software, with context-sensitive help, show commands, multi-user support, and
current state [FLOGI_ST_FLOGI_RECEIVED]
current event [FLOGI_EV_VALID_FLOGI]
next state
current state [FLOGI_ST_GET_FCID]
current event [FLOGI_EV_VALID_FCID]
next state
current state [FLOGI_ST_PERFORM_CONFIG]
current event [FLOGI_EV_CONFIG_DONE_PENDING]
next state
Appendix B
Troubleshooting Tools and Methodology
[FLOGI_ST_GET_FCID]
[FLOGI_ST_PERFORM_CONFIG]
[FLOGI_ST_PERFORM_CONFIG]
OL-9285-05

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents