EasyManuals Logo
Home>Cisco>Switch>MDS 9000 Series

Cisco MDS 9000 Series Command Reference

Cisco MDS 9000 Series
1464 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #397 background imageLoading...
Page #397 background image
Send documentation comments to mdsfeedback-doc@cisco.com
6-77
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 6 Debug Commands
debug logfile
debug logfile
To direct the output of the debug commands to a specified file, use the debug logfile command in EXEC
mode. To disable a debug command, use the no form of the command or use the no debug all command
to turn off all debugging.
debug logfile filename [size bytes]
Syntax Description
Defaults Disabled.
Command Modes EXEC mode.
Command History
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
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.
Release Modification
1.0(2) This command was introduced.

Table of Contents

Other manuals for Cisco MDS 9000 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco MDS 9000 Series and is the answer not in the manual?

Cisco MDS 9000 Series Specifications

General IconGeneral
BrandCisco
ModelMDS 9000 Series
CategorySwitch
LanguageEnglish

Related product manuals