DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
256
22-3
debug output
Description
This command is use to set a specified module’s debug message output to debug buffer or local
console. If the user uses the command in a TELNET session, the error message also is output to
the local console.
Format
debug output [module <module_list> | all] [buffer | console]
Parameters
module
- Specifies the module list.
<module_list>
- Enter the module list here.
all
- Control output method of all modules.
buffer
- Direct the debug message of the module output to debug buffer(default).
console
- Direct the debug message of the module output to local console.
Restrictions
Only Administrators can issue this command.
Example
To set all module debug message outputs to local console:
DWS-3160-24PC:admin# debug output all console
Command: debug output all console
Success.
DWS-3160-24PC:admin#
22-4
debug config error_reboot
Description
This command is used to set if the Switch needs to be rebooted when a fatal error occurs. When
the error occurs, the watchdog timer will be disabled by the system first, and then all debug
information will be saved in NVRAM. If the error_reboot is enabled, the watchdog shall be enabled
after all information is stored into NVRAM.
Format
debug config error_reboot [enable | disable]
Parameters
enable
– If enabled, the Switch will reboot when a fatal error happens.
disable
– If disabled the Switch will not reboot when a fatal error happens, system will hang-up
for debug and enter the debug shell mode for debug.