xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
559
debug stp clear counter
Purpose
This command used to clear the STP counters.
Syntax debug stp clear counter {ports [<portlist> | all]}
Description
This command used to clear the STP counters.
Parameters ports - Specifies the port range.
<portlist> - Enter the list of port used for this configuration here.
all - Clears all port counters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear all STP counters on the Switch:
DES-3528:admin#debug stp clear counter ports all
Command: debug stp clear counter ports all
Success.
debug stp state
Purpose
This command is used to enable or disable the STP debug state.
Syntax debug stp state [enable | disable]
Description
This command is used to enable or disable the STP debug state.
Parameters state - Specifies the STP debug state.
enable - Enable the STP debug state.
disable - Disable the STP debug state.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To configure the STP debug state to enable, and then disable the STP debug state:
DES-3528:admin# debug stp state enable
Command: debug stp state enable
Success.
DES-3528:admin# debug stp state disable
Command: debug stp state disable
Success.