
2-3
You can use the following commands to enable the two settings.
Follow these steps to enable debugging and terminal display for a specific module:
To do… Use the command… Remarks
Enable system debugging for
specific module
debugging module-name
[ debugging-option ]
Required
Disabled for all modules by
default.
Enable terminal display for
debugging
terminal debugging
Required
Disabled by default.
The output of debugging information affects the system operation. Disable all debugging after you finish
the system debugging.
Displaying Debugging Status
Follow these steps to display the current debugging status in the system:
To do… Use the command… Remarks
Display all enabled debugging
on the current device
display debugging [ unit
unit-id ] [ interface
interface-type
interface-number ]
[ module-name ]
You can execute the display
command in any view.
Displaying Operating Information about Modules in System
When the device is in trouble, you may need to view a lot of operating information to locate the problem.
Each functional module has its corresponding operating information display command(s). You can use
the command here to display the current operating information about the modules in the system for
troubleshooting your system.
Follow these steps to display the current operation information about the modules in the system:
To do… Use the command… Remarks
Display the current operation
information about the modules
in the system.
display
diagnostic-information
You can use this command in
any view.
You should execute this
command twice to find the
difference between the two
executing results, thus helping
locate the problem.