1
Ping, tracert, and system debugging
commands
debugging
Use
debugging
to enable debugging for a module.
Use
undo debugging
to disable debugging for a module.
Syntax
debugging
{
all
[
timeout
time
] |
module-name
[
option
] }
undo
debugging
{
all
|
module-name
[
option
] }
Default
Debugging functions are disabled for all modules.
Views
User view
Predefined user roles
network-admin
mdc-admin
Parameters
all
: Enables 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 timeout
time
.
The
time
argument is in the range of 1 to 1440 minutes.
module-name
: Specifies a module by its name, such as
arp
or
device
. To display the current module
name, use the
debugging ?
command.
option
: Specifies the debugging option for a module. The option number and content differ for
different modules. To display the supported options, use the
debugging
module-name
?
command.
Usage guidelines
Output from debugging commands is memory intensive. To guarantee system performance, enable
debugging only for modules that are in an exceptional condition.
Examples
# Enable debugging for the device management module.
<Sysname> debugging dev
Related commands
display debugging
display debugging
Use
display debugging
to display the enabled debugging functions.
Syntax
display debugging
[
module-name
]