API Guide

Command Mode EXEC
Usage
Information
Use this command to force the port to re-negotiate with neighbors. If you use this command without
parameters, the command applies to each device port.
Example
OS10# clear spanning-tree detected-protocol interface ethernet 1/1/1
Supported
Release
10.2.0E or later
spanning-tree bpdufilter
Enables or disables BPDU filtering on an interface.
Syntax
spanning-tree bpdufilter {enable | disable}
Parameters
enable Enables the BPDU filter on an interface.
disable Disables the BPDU filter on an interface.
Default Disabled
Command Mode INTERFACE
Usage
Information
Use the enable parameter to enable BPDU filtering.
Example
OS10(conf-if-eth1/1/4)# spanning-tree bpdufilter enable
Supported
Releases
10.2.0E or later
spanning-tree bpduguard
Enables or disables the BPDU guard on an interface.
Syntax
spanning-tree bpduguard {enable | disable}
Parameters
enable Enables the BPDU guard filter on an interface.
disable Disables the BPDU guard filter on an interface.
Default Disabled
Command Mode INTERFACE
Usage
Information
BPDU guard prevents a port from receiving BPDUs. If the port receives a BPDU, it is placed in the Error-
Disabled state.
Example
OS10(conf-if-eth1/1/4)# spanning-tree bpduguard enable
Supported
Releases
10.2.0E or later
spanning-tree disable
Disables Spanning-Tree mode configured with the spanning-tree mode command globally on the switch or specified
interfaces.
Syntax
spanning-tree disable
Parameters None
Default Not configured.
Layer 2 475