beautypg.com

System debugging, Debugging information control switches, Debugging a feature module – H3C Technologies H3C S6300 Series Switches User Manual

Page 19

background image

6

System debugging

The device supports debugging for the majority of protocols and features and provides debugging
information to help users diagnose errors.

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: