LAN Switching Commands

spanning-tree bpduguard

To enable bridge protocol data unit (BPDU) guard on the interface, use the spanning-tree bpduguard command in interface configuration and template configuration mode. To return to the default settings, use the no form of this command.

Supported Parameters

enable

Enables BPDU guard on this interface.

Command History

Command History

Release

Modification

Cisco IOS XE Catalyst SD-WAN Release 17.5.1a

Command qualified for use in Cisco SD-WAN Manager CLI templates.

Usage Guidelines

For more information about this command, see the Cisco IOS XE spanning-tree bpduguard command.


spanning-tree guard root
spanning-tree bpduguard enable

spanning-tree guard

To enable or disable the guard mode, use the spanning-tree guard command in interface configuration and template configuration mode. To return to the default settings, use the no form of this command.

Supported Parameters

root

Enables root-guard mode on the interface.

Command History

Command History

Release

Modification

Cisco IOS XE Catalyst SD-WAN Release 17.5.1a

Command qualified for use in Cisco SD-WAN Manager CLI templates.

Usage Guidelines

For more information about this command, see the Cisco IOS XE spanning-tree guard command.

spanning-tree guard root
spanning-tree bpduguard enable

spanning-tree mode

To switch between Per-VLAN Spanning Tree+ (PVST+), Rapid-PVST+, and Multiple Spanning Tree (MST) modes, use the spanning-treemode command in global configuration mode. To return to the default settings, use the no form of this command.

Command History

Release Modification

Cisco IOS XE Catalyst SD-WAN Release 17.4.1a

Command qualified for use in Cisco SD-WAN Manager CLI templates. The command option rapid-pvst is qualified.

Usage Guidelines

For more information about this command, see the Cisco IOS XE spanning-tree mode command.

Device# config-transaction
Device(config)# spanning-tree mode rapid-pvst

spanning-tree portfast (interface)

To enable PortFast mode where the interface is immediately put into the forwarding state upon linkup without waiting for the timer to expire, use the spanning-treeportfast command in interface configuration mode. To return to the default settings, use the no form of this command.

Command History

Release Modification

Cisco IOS XE Catalyst SD-WAN Release 17.4.1a

Command qualified for use in Cisco SD-WAN Manager CLI templates.

Usage Guidelines

For more information about this command, see the Cisco IOS XE spanning-tree portfast (interface) command.

Example

Device(config-if)# spanning-tree portfast