xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
419
54
MSTP
D
EBUG
E
NHANCEMENT
C
OMMANDS
The MSTP Debug Enhancement commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
debug buffer
[utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
debug output
module mstp [buffer | console]
debug stp config ports
[ < portlist > | all ] [ event | bpdu | state_machine | all ] state [ disable | brief |
detail ]
debug stp show information
debug stp show flag
{ports <portlist>}
debug stp show counter
{ports [<portlist> | all]}
debug stp clear counter
[ports < portlist > | all ]
debug stp state
[enable | disable]
Each command is listed, in detail, in the following sections.
debug buffer
Purpose
Use the debug buffer command to dump, clear, or upload the debug buffer to the TFTP
server.
Syntax
debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>]
Description
Dump, clear or upload the debug buffer to a TFTP server.
Parameters
dump
- Displays the debug message in the debug message buffer.
clear
- Clears the debug message buffer.
upload_toTFTP <ipaddr>
- Uploads the debug message buffer to a TFTP server with a
specified IP address
<path_filename 64>
- Upload the debug message buffer to a TFTP server and name the
uploaded file using the string identified in the <path_filename 64> option.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear the debug information in the buffer:
DGS-3450:admin# debug buffer clear
Command: debug buffer clear
Success.
DGS-3450:admin#
debug output
Purpose
Use the debug output command to specify if the MSTP debug message output should be to
the buffer or console.