Spanning-Tree Commands
OL-32830-01 Command Line Interface Reference Guide
902
46
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
The command can be enabled when the spanning tree is enabled (useful when the
port is in the PortFast mode) or disabled.
Example
The following example shuts down
gi1
5
when it receives a BPDU.
switchxxxxxx(config)#
interface
gi1
5
switchxxxxxx(config-if)#
spanning-tree bpduguard enable
46.17 clear spanning-tree detected-protocols
Use the clear spanning-tree detected-protocols Privileged EXEC mode command
to restart the STP migration process (force renegotiation with neighboring
switches) on all interfaces or on the specified interface
Syntax
clear spanning-tree detected-protocols
[interface interface-id]
Parameters
interface-id—Specifies an interface ID. The interface ID can be one of the
following types: Ethernet port or Port-channel.
Default Configuration
All interfaces.
Command Mode
Privileged EXEC mode
User Guidelines
This feature can only be used when working in RSTP or MSTP mode.
Содержание 300 Series
Страница 2: ......