Parameters
all: All debugging functions.
timeout time: Specifies the timeout time for the debugging all command. When all debugging is enabled,
the system automatically executes the undo debugging all command after the time. The value ranges
from 1 to 1440, in minutes.
module-name: Module name, such as arp or device. To display the current module name, use the
debugging ? command.
option: The debugging option for a specific module. Different modules have different debugging options
in terms of their number and content. To display the currently supported options, use the debugging
module-name ? command.
Usage guidelines
Output of the debugging information may degrade system efficiency, so you should enable the
debugging of the corresponding module for diagnosing network failure, and not to enable debugging
of multiple modules at the same time.
Default command level describes the default level of the debugging all command. Different debugging
commands may have different default levels.
Configure the debugging, terminal debugging and terminal monitor commands first to display detailed
debugging information on the terminal. For more information about the terminal debugging and
terminal monitor commands, see "Information center configuration commands."
Examples
# Enable IP packet debugging.
<Sysname> debugging ip packet
Related commands
display debugging
display debugging
Use display debugging to display enabled debugging functions.
Syntax
display debugging [ interface interface-type interface-number ] [ module-name ] [ | { begin | exclude |
include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface interface-type interface-number: Displays the debugging settings of the specified interface,
where interface-type interface-number represents the interface type and number.
module-name: Module name.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
11