xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
97
debug buffer
buffer to the TFTP server. The “buffer” here refers to the module debug messages stored in
the RAM. For more information on this command, please refer to the UIS-Debug topic
Parameters
utilization
- Displays the debug buffer’s state
dump
- Displays the debug messages in the debug buffer.
clear
- Clears the debug buffer
upload_toTFTP
- Uploads the debug buffer to the TFTP server that is specified by its IP
address
<ipaddr>
- IP version 4 address
<path_filename 64>
- Uploads the debug buffer to the TFTP server and names it to the string
<path_filename 64>.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To show the debug buffer’s state:
DGS-3627:admin# debug buffer utilization
Command: debug buffer utilization
Allocate from
:
System memory
Total size :
2 MB
Utilization rate :
30%
DGS-3627:admin#
debug output
Purpose
This command is used to set the specified module’s debug message output to the debug
buffer or console
Syntax
debug output [module <module_list> | all] [buffer | console]
Description
This command is used to set the specified module’s debug message output to the debug
buffer or console. For more information on this command, please refer to the UIS-Debug
topic.
Parameters
<module_list>
- This is the controlling module list. For BGP debug, use BGP as the
parameter.
all
- Control output method of all modules.
buffer
- Let debug messages of the module output to the debug buffer.(default)
console
- Let debug messages of the module output to the console.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To set all modules’ debug message output to console:
DGS-3627:admin# debug output all console
Command: debug output all console
Success.
DGS-3627:admin#