Displaying debugging status – H3C Technologies H3C S3100 Series Switches User Manual

Page 825

Advertising
background image

2-3

You can use the following commands to enable the two switches.

Table 2-3 Enable debugging and terminal display for a specific module

Operation

Command

Description

Enable system debugging for
specific module

debugging module-name
[ debugging-option ]

Required

Disabled for all modules by default.

Enable terminal display for
debugging

terminal debugging

Required

Disabled by default.

The output of debugging information affects the system operation. Disable all debugging after you finish

the system debugging.

Displaying Debugging Status

Table 2-4 Display the current debugging status in the system

Operation

Command

Description

Display all enabled
debugging on the switch

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

You can execute the display
command in any view.

Displaying Operating Information about Modules in System

When an Ethernet switch is in trouble, you may need to view a lot of operating information to locate the

problem. Each functional module has its corresponding operating information display command(s). You

can use the command here to display the current operating information about the modules in the

system for troubleshooting your system.

Table 2-5 Display the current operation information about the modules in the system.

Operation

Command

Description

Display the current
operation information about
the modules in the system.

display
diagnostic-information

You can use this command in any view.

You should execute this command twice to find the
difference between the two executing results, thus
helping locate the problem.

Advertising