DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
177
Restrictions
Only Administrator level users can issue this command.
Example
To show the debug buffer’s state:
DGS-3710-12C:admin# debug buffer utilization
Command: debug buffer utilization
Allocate from
:
System memory
Total size
:
2 MB
Utilization rate
:
30%
DGS-3710-12C:admin#
To clear the debug buffer:
DGS-3710-12C:admin# debug buffer clear
Command: debug buffer clear
Success.
DGS-3710-12C:admin#
To upload the messages stored in debug buffer to TFTP server:
DGS-3710-12C:admin# debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt
Command: debug buffer upload_toTFTP 10.0.0.90 debugcontent.txt
Connecting to server................... Done.
Upload debug file…..................... Done.
DGS-3710-12C:admin#
16-5
debug output
Description
Use the command 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.
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.