Configuring system debugging, Ping and tracert configuration example, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 18

Advertising
background image

6

Configuring system debugging

Output of the debugging information may reduce system efficiency. Administrators usually use the

debugging commands to diagnose network failure. After completing the debugging, disable the

corresponding debugging function, or use the undo debugging all command to disable all the
debugging functions.
Output of debugging information depends on the configurations of the information center and the

debugging commands of each protocol and functional module. Displaying the debugging information

on a terminal (including console or VTY) is a common way to output debugging information. You can

also output debugging information to other destinations. For more information, see the chapter
“Configuring the information center.”
To enable the output of debugging information to a terminal:

Step Command

Remarks

1.

Enable the terminal
monitoring of system

information.

terminal monitor

Optional.
By default, the terminal monitoring

on the console is enabled and that
on the monitoring terminal is

disabled.
Available in user view.

2.

Enable the terminal
display of debugging

information.

terminal debugging

By default, terminal display of
debugging information is

disabled.
Available in user view.

3.

Enable debugging for a
specified 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:

You must configure the debugging, terminal debugging and terminal monitor commands first to 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.

Ping and tracert configuration example

Network requirements

As shown in

Figure 4

, Device A failed to telnet Device C. Check whether Device A and Device C can

reach each other. If they cannot reach each other, locate the failed nodes in the network.

Advertising