DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
580
65. Spanning Tree Protocol (STP) Commands
65-1 clear spanning-tree detected-protocols
This command is used to restart the protocol migration.
clear spanning-tree detected-protocols {all | interface INTERFACE-ID}
Parameters
Default
None.
Command Mode
Privileged EXEC Mode.
Command Default Level
Level: 12.
Usage Guideline
Using this command the port protocol migrating state machine will be forced to the SEND_RSTP state.
This action can be used to test whether all legacy bridges on a given LAN have been removed. If
there is no STP Bridge on the LAN, the port will be operated in the configured mode, either in the
RSTP or MSTP mode. Otherwise, the port will be operated in the STP mode.
Example
This example shows how to trigger the protocol migration event for all ports.
Switch# clear spanning-tree detected-protocols all
Clear spanning-tree detected-protocols? (y/n) [n] y
Switch#
65-2 show spanning-tree
This command is used to display the information of spanning tree protocol operation. This command
is only for STP and RSTP.
show spanning-tree [interface [INTERFACE-ID [, | -]]
Parameters
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space before and after the
comma.