xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
520
Debug Software Commands
The Debug Software 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> | <ipv6addr> | <domain_name 255>]
<path_filename 64>]
debug buffer
[utilization | dump | clear | upload_toTFTP [<ipaddr> | <ipv6addr> |
<domain_name 255>] <path_filename 64>]
debug output
[module <module_list> | all] [buffer | console]
debug config
[module <module_list> | all] [enable | disable]
debug config error_reboot
[enable | disable]
debug status show
{module <module_list>}
debug config state
[enable | disable]
debug error_reboot show state
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> | <ipv6addr> |
<domain_name 255>] <path_filename 64>]
Description
Use this command to dump, clear or upload the software error log to a TFTP server.
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.
<
ipv6addr
> - Specifies the IPv6 address of the TFTP server.
<
domain_name 255
> - The domain name of the TFTP server. The max length of domain
name is 255.
<
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 and Operator-level users can issue this command.
Example usage:
To dump the error log:
DES-3528:admin# debug error_log dump
Command: debug error_log dump
**************************************************************************
# debug log: 1
# level: fatal
# clock: 10000ms
# time : 2013/03/11 13:00:00
====================== SOFTWARE FATAL ERROR =======================
Invalid mutex handle : 806D6480
Current TASK : bcmARL.0
------------------------- TASK STACKTRACE ------------------------
->802ACE98