
Disabling and Resetting STP
97
To display the STP state of a port, use the following command:
show stpd <stpd_name> port <portlist>
This command displays the following:
■
STPD port configuration
■
STPD state (Root Bridge, and so on)
■
STPD port state (forwarding, blocking, and so on)
Disabling and
Resetting STP
To disable STP or return STP settings to their defaults, use the commands
listed in Table 24
.
Table 24
STP Disable and Reset Commands
Command Description
delete stpd <stpd_name>
Removes an STPD. An STPD can only be removed if all
VLANs have been deleted from it. The default STPD, s0,
cannot be deleted.
disable stpd {<stpd_name>}
Disables the STP mechanism on a particular STPD, or for
all STPDs.
disable stpd port <portlist>
Disables STP on one or more ports. Disabling STP on one
or more ports puts those ports in
forwarding
state; all
BPDUs received on those ports will be disregarded.
unconfig stpd {<stpd_name>}
Restores default STP values to a particular STPD or to all
STPDs.