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 module-name [ option ]
undo debugging module-name [ option ]
Default
Debugging is disabled for all modules.
Views
User view
Predefined user roles
network-admin
Parameters
module-name: Specifies a module by its name, such as arp or device. For a list of supported
modules, use the debugging ? command.
option: Specifies the debugging option for a module. Available options vary by module. To display the
debugging options supported by a module, 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.
The system sends the debugging command output as debug messages to the device information
center. The information center then sends the messages to appropriate destinations based on the
log output configuration. For more information about configuring debug message output, see
Network Management and Monitoring Configuration Guide.
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 features for a module or for all modules.
Syntax
display debugging [ module-name ]