Spanning-tree bpduguard, Clear spanning-tree detected-protocols – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual
Page 271

Spanning-Tree Commands
Page 270
spanning-tree bpduguard
The spanning-tree bpduguard Interface Configuration (Ethernet, port-channel) mode command shuts down an
interface when it receives a bridge protocol data unit (BPDU). Use the no form of this command to restore the
default configuration.
Syntax
spanning-tree bpduguard
no spanning-tree bpduguard
Parameters
This command has no arguments or keywords.
Default Configuration
The default configuration is set to disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
You can enable the command when the spanning tree is enabled (useful when the port is in the PortFast mode) or
disabled.
Example
The following example shuts down an interface when it receives a BPDU.
clear spanning-tree detected-protocols
The clear spanning-tree detected-protocols Privileged EXEC mode command restarts the protocol migration
process (forces renegotiation with neighboring devices) on all interfaces or on a specified interface.
Syntax
clear spanning-tree detected-protocols [ethernet interface | port-channel port-channel-number]
Parameters
•
interface — A valid Ethernet port.
•
port-channel-number — A valid port-channel number.
Default Configuration
This command has no default configuration.
console(config)# interface ethernet 1/e1
console(config-if)# spanning-tree bpduguard