xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
140
18
D
EBUG
C
OMMANDS
Software Debug is used to define the common behavior of each module’s debug function and collect and save basic OS
information when exceptions happen.
The Debug commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command
Parameters
debug error_log
[dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
debug buffer
[utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
debug output
[module <module_list> | all] [buffer | console]
debug config error_reboot
[enable | disable]
debug show status
{ module <module_list> }
debug config state
[enable | disable]
debug show error_reboot state
debug show error ports
[sio1 | sio2]
debug show packet ports
[sio1 | sio2]
Each command is listed, in detail, in the following sections.
debug error_log
Purpose
Use this command to dump, clear or upload the software error log to a TFTP server.
Syntax
debug error_log [dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
Description
Dump, clear or upload the debug log to a TFTP server. The “error log” here refers to the
software error log stored in NVRAM.
Parameters
dump
- Display the debug message of the debug log.
clear
- Clear the debug log.
upload_toTFTP
- Upload the debug log 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.
Restrictions
Only Administrator and Operator-level users can issue this command.