DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
176
->80A0297C
To clear the error log:
DGS-3710-12C:admin# debug error_log clear
Command: debug error_log clear
Success.
DGS-3710-12C:admin#
To upload the error log to TFTP server:
DGS-3710-12C:admin# debug error_log upload_toTFTP 10.0.0.90 debug-log.txt
Command: debug error_log upload_toTFTP 10.0.0.90 debug-log.txt
Connecting to server................... Done.
Upload error log....................... Done.
DGS-3710-12C:admin#
16-4
debug buffer
Description
Use this command to show the debug buffer’s state, or dump, clear, or upload the debug buffer to
a TFTP server.
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 buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
Parameters
utilization
- Display the debug buffer’s state.
dump
- Display the debug message in the debug buffer.
clear
- Clear the debug buffer.
upload_toTFTP
- Upload the debug buffer to a TFTP server specified by IP address.
<ipaddr>
- Specifies the IPv4 address of the TFTP server.
<path_filename 64>
- The pathname specifies the DOS pathname on the TFTP server. It can
be a relative pathname or an absolute pathname. This value can be up to 64 characters
long.