D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
208
Note: When selecting to output to the debug buffer and there are debug messages being
outputted, the system memory pool will be used as the debug buffer. The functions which will use
the system memory pool resource may fail to execute command such as download and upload
firmware, or save configuration. If you want to execute these commands successfully, please use
the command “debug buffer clear” to release the system’s memory pool resources manually first.
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 Administrator level users can issue this command.
Example
To set all module debug message outputs to local console:
DGS-3420-28SC:admin# debug output all console
Command: debug output all console
Success.
DGS-3420-28SC:admin#
19-6 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 - Need reboot switch when fatal error happens.(if the project do not define the default
setting, enable for default).
disable - Do not need reboot switch when fatal error happens, system will hang-up for debug and
enter the debug shell mode for debug.