6
Debugging information control switches
The following switches control the display of debugging information:
• Module debugging switch—Controls whether to generate the module-specific debugging
information.
• Screen output switch—Controls whether to display the debugging information on a certain
screen. Use terminal monitor and terminal logging level commands to turn on the screen
output switch. For more information about these two commands, see Network Management
and Monitoring Command Reference.
As shown in Figure 4, assume that the device can provide debugging for the three modules 1, 2, and
3. The debugging information can be output on a terminal only when both the module debugging
switch and the screen output switch are turned on.
Debugging information is typically displayed on a console. You can also send debugging information
to other destinations. For more information, see "Configuring the information center."
Figure 4 Relationship between the module and screen output switch
Debugging a feature module
Output of debugging commands is memory intensive. To guarantee system performance, enable
debugging only for modules that are in an exceptional condition. When debugging is complete, use
the undo debugging all command to disable all the debugging functions.
To debug a feature module:
1.
module in user view.
debugging
{
all
[
timeout
time ] |
module-name [ option ] }
By default, all debugging
functions are disabled.
2. (Optional.)
enabled debugging
view.
display
debugging
[ module-name ]
N/A
1
3
1 2
3
1
3
1
3
Debugging
information
Protocol
debugging
switch
Screen
output switch
Debugging
information
Protocol
debugging
switch
Screen
output switch
ON
OFF ON
OFF
1
2
3
ON
OFF ON
ON