beautypg.com

System debugging, Introduction to system debugging – H3C Technologies H3C S5120 Series Switches User Manual

Page 624

background image

1-5

To do…

Use the command…

Remarks

Enable sending of
ICMP timeout
packets

ip ttl-expires enable

Required

Disabled by default.

Enable sending of
ICMP destination
unreachable packets

ip unreachables enable

Required

Disabled by default.

Display the routes
from source to
destination

tracert [ -a source-ip | -f first-ttl | -m max-ttl |
-p
port | -q packet-numbe | -w timeout ] *
host

Required

Available in any view

System Debugging

Introduction to System Debugging

The device provides various debugging functions. For the majority of protocols and features supported,

the system provides corresponding debugging information to help users diagnose errors.

The following two switches control the display of debugging information:

z

Protocol debugging switch, which controls protocol-specific debugging information.

z

Screen output switch, which controls whether to display the debugging information on a certain

screen.

As

Figure 1-3

illustrates, suppose the device can provide debugging for the three modules 1, 2, and 3.

Only when both the protocol debugging switch and the screen output switch are turned on can

debugging information be output on a terminal.

Figure 1-3 The relationship between the protocol and screen debugging switch