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

Page 625

Advertising
background image

1-6

Configuring System Debugging

Output of the debugging information may reduce system efficiency. The debugging commands are

usually used by administrators in diagnosing 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 is related to 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 the detailed configurations, refer to Information

Center Commands. By default, you can output debugging information to a terminal by following these

steps:

To do…

Use the command…

Remarks

Enable the terminal monitoring
of system information

terminal monitor

Optional

The terminal monitoring on the
console is enabled by default
and that on the monitoring
terminal is disabled by default.

Available in user view

Enable the terminal display of
debugging information

terminal debugging

Required

Disabled by default

Available in user view

Enable debugging for a
specified module

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

Required

Disabled by default

Available in user view

Display the enabled debugging
functions

display debugging [ interface
interface-type
interface-number
]
[ module-name ]

Optional

Available in any view

You must configure the debugging, terminal debugging and terminal monitor commands first to

display the detailed debugging information on the terminal. For the detailed description on the terminal

debugging and terminal monitor commands, refer to Information Center Commands.

Ping and Tracert Configuration Example

Network requirements

As shown in

Figure 1-4

, Device A failed to telnet Device C. Now it is required to determine whether an

available route exists between Device A and Device C. If no such a route exists, you need to locate the

failed nodes in the network.

Advertising