D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
207
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.
Restrictions
Only Administrator level users can issue this command.
Example
To show the debug buffer’s state:
DGS-3420-28SC:admin# debug buffer utilization
Command: debug buffer utilization
Allocate from : System memory
Total size : 2 MB
Utilization rate : 30%
DGS-3420-28SC:admin#
To clear the debug buffer:
DGS-3420-28SC:admin# debug buffer clear
Command: debug buffer clear
Success.
DGS-3420-28SC:admin#
To upload the messages stored in debug buffer to TFTP server:
DGS-3420-28SC: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 configuration................... Done.
DGS-3420-28SC:admin#
19-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.