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 and display the debugging information on a terminal:

Step

Command

Remarks

1. Enable the terminal monitoring of system information.

terminal monitor

Optional.

By default, the terminal monitoring on the console port is enabled and that on the monitoring terminal is disabled.

Available in user view.

2. Enable the terminal to display debugging information.

terminal debugging

By default, terminal display of debugging information is disabled.

Available in user view.

3. Enable debugging for a specific feature module.

debugging { all [ timeout time ] | module-name [ option ] }

By default, debugging for a specified module is disabled.

Available in user view.

4. Display the enabled debugging functions.

display debugging [ interface interface-type interface-number ] [ module-name ] [ | { begin | exclude | include } regular-expression ]

Optional.

Available in any view.


[NOTE: ]

NOTE:

You must configure the debugging, terminal debugging and terminal monitor commands before you can display the detailed debugging information on the terminal. For more information about the terminal debugging and terminal monitor commands, see Network Management and Monitoring Command Reference.