Operation Manual - System Management
Quidway S6500 Series Ethernet Switches Chapter 4 System Maintenance and Debugging
Huawei Technologies Proprietary
4-3
4.3 System Debugging
4.3.1 Enable/Disable the Terminal Debugging
The Ethernet switch provides various ways for debugging most of the supported
protocols and functions, which can help you diagnose and address the errors.
The following switches can control the outputs of the debugging information:
z Protocol debugging switch controls the debugging output of a protocol.
z Terminal debugging switch controls the debugging output on a specified user
screen.
The figure below illustrates the relationship between two switches.
1
2
3
Protocol debugging
switch
ON ONOFF
ONOFF
1
3
1
3
Screen output switch
1
3
Debugging
information
Figure 4-1 Debug output
You can use the following commands to control the above-mentioned debugging.
Perform the following operations in user view.
Table 4-6 Enable/Disable the debugging
Operation Command
Enable the protocol debugging
debugging { all | module-name
[ debugging-option ] }
Disable the protocol debugging
undo debugging { all | { protocol-name |
function-name } [ debugging-option ] }
Enable the terminal debugging
terminal debugging
Disable the terminal debugging
undo terminal debugging