xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
247
Example
To show the debug buffer’s state:
DGS-3120-24TC:admin# debug buffer utilization
Command: debug buffer utilization
Allocate from
:
System memory pool
Total size
:
2 MB
Utilization rate
:
30%
DGS-3120-24TC:admin#
To clear the debug buffer:
DGS-3120-24TC:admin# debug buffer clear
Command: debug buffer clear
Success.
DGS-3120-24TC:admin#
To upload the messages stored in debug buffer to TFTP server:
DGS-3120-24TC: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-3120-24TC:admin#
22-4
debug output
Description
This command is used 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 in process,
the system’s memory pool will be used as the debug buffer. Then, the functions which will
be used in the system’s memory pool resources may fail to excute these commands
successfully. Use the
“debug buffer clear”
command to release the system’s memroy
pool resources manually.
Format
debug output [module <module_list> | all] [buffer | console]
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...