CÔNG TY TNHH CÔNG NGHỆ VIỆT THÁI DƯƠNG
Logo CNTTShop.vn

NTT03, Line 1, Thống Nhất Complex, Thanh Xuân, Hà Nội.
Danh mục sản phẩm

System Debugging Function

To help the user diagnose the problem, the most function modules of the device provide the debugging function.

The debugging function has two switch controls:

  • The debugging switch of the module, controlling whether to generate the debugging information of the module
  • The output switch of the screen, controlling whether to output the debugging information to the terminal

Configuration Condition

None

System Debugging

Table 1-7 System debugging

Step

Command

Description

Open the output switch of the remote login system debugging screen

terminal monitor

Optional

The remote login includes telnet, ssh and so on.

By default, the switch is closed.

Enter the global configuration mode

configure terminal

-

Open the output switch of the console system debugging screen

logging console

Optional

By default, the switch is opened.

Exit the global configuration mode

exit

-

Open the debugging switch of the system function module

debug { all | module-name [ option ] }

Optional

By default, all debugging switches of the system function modules are closed.

note


  • The debugging information can be displayed on the terminal only after configuring debug module-name option, terminal monitor or logging console at the same time.
  • The generating and output of the debugging information affect the system performance, so when it is necessary, had better use the debug module-name option command to open the specified debugging switch. The debug all command opens all debugging switches, so we had better not use. After debugging ends, close the corresponding debugging switch in time or use the no debug all command to close all debugging switches.