D Commands
This chapter describes the basic Cisco NX-OS system commands that begin with D.
databits
To configure the number of data bits in a character for the terminal port, use the databits command. To revert to the default, use the no form of this command.
Syntax Description
Number of data bits in a character. The range is from 5 to 8. |
Command Default
Command Modes
Terminal line configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can configure the console port only from a session on the console port.
Examples
This example shows how to configure the number of data bits for the console port:
This example shows how to revert to the default number of data bits for the console port:
Related Commands
|
|
---|---|
debug logfile
To direct the output of the debug commands to a specified file, use the debug logfile command. To revert to the default, use the no form of this command.
debug logfile filename [ size bytes ]
no debug logfile filename [ size bytes ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The Cisco NX-OS software creates the logfile in the log: file system root directory. Use the dir log: command to display the log files.
Examples
This example shows how to specify a debug log file:
This example shows how to revert to the default debug log file:
Related Commands
|
|
---|---|
debug logging
To enable debug command output logging, use the debug logging command. To disable debug logging, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to enable the output logging for the debug command:
This example shows how to disable the output logging for the debug command:
Related Commands
|
|
---|---|
delete
To delete a file or directory, use the delete command.
delete [ filesystem :] [// server /] [ directory ] filename
Syntax Description
Note There can be no spaces in the filesystem://server/directory/filename string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the dir command to locate the file you that want to delete.
The delete command will delete a directory and its contents. Exercise caution when using this command to delete directories.
Examples
This example shows how to delete a file:
This example shows how to delete a directory:
Related Commands
|
|
---|---|
dir
To display the contents of a directory, use the dir command.
dir [ filesystem :] [// server /] [ directory ]
Syntax Description
Note There can be no spaces in the filesystem://server/directory string. Individual elements of this string are separated by colons (:) and slashes (/).
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The dir command displays a listing of the files in the specified directory. For each file, it lists the size of the file in bytes, the last modified time of the file, and the filename of the file. This command then displays the usage statistics for the file system.
Use the pwd command to verify the current working directory.
Examples
This example shows how to display the contents of the root directory in bootflash:
This example shows how to display the contents of the current working directory:
Related Commands
|
|
---|---|