![background image](/i/d-link/90968/d-link-des-3528/h/d-link-des-3528-498.png)
xStack® DES-3528/DES-3552 Series Layer 2 Fast Ethernet Managed Switch CLI Reference Guide
498
MSTP
DEBUG ENHANCEMENT
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 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 stp config ports
Purpose
This command used to configure per-port STP debug level on the specified ports.
Syntax
debug stp config ports [<portlist> | all] [event | bpdu | state_machine | all] state
[disable | brief | detail]
Description
This command used to configure per-port STP debug level on the specified ports.
Parameters
ports
- Specifies the STP port range to debug.
<
portlist
> - Enter the list of port used for this configuration here.
all
- Specifies to debug all ports on the Switch.
event
- Debug the external operation and event processing.
bpdu
- Debug the BPDU’s that have been received and transmitted.
state_machine
- Debug the state change of the STP state machine.
all
- Debug all of the above.
state
- Specifies the state of the debug mechanism.
disable
- Disables the debug mechanism.
brief
- Sets the debug level to brief.
detail
- Sets the debug level to detail.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure all STP debug flags to brief level on all ports:
DES-3528:admin# debug stp config ports all all state brief
Command: debug stp config ports all all state brief
Warning: only support local device.
Success.
DES-3528:admin#
debug stp show information
Purpose
This command used to display STP detailed information, such as the hardware tables, the
STP state machine, etc.
Syntax
debug stp show information