Reference Guide

To clear Error Disabled state:
Use the shutdown command on the interface.
Use the spanning-tree bpdufilter disable command to disable the BPDU guard on the interface.
Use the spanning-tree disable command to disable STP on the interface.
2 Enable STP BPDU guard in INTERFACE mode.
spanning-tree bpduguard enable
To shut down the port channel interface, all member ports are disabled in the hardware.
To add a physical port to a port-channel already in the Error Disable state, the new member port is also disabled in the hardware.
To remove a physical port from a port-channel in Error Disable state, the Error Disabled state clears on this physical port (the
physical port is enabled in the hardware).
To clear Error Disabled state:
Use the shutdown command on the interface.
Use the spanning-tree bpduguard disable command to disable the BPDU guard on the interface.
Use the spanning-tree disable command to disable STP on the interface.
3 Set the guard types to avoid loops in INTERFACE mode.
spanning-tree guard {loop | root | none}
loop — Set the guard type to loop.
none — Set the guard type to none.
root — Set the guard type to root.
BPDU lter
OS10(conf-if-eth1/1/4)# spanning-tree bpdufilter enable
OS10(conf-if-eth1/1/4)# do show spanning-tree interface ethernet 1/1/4
ethernet1/1/4 of vlan1 is designated Blocking
Edge port:no (default) port guard :none (default)
Link type is point-to-point (auto)
Boundary: NO bpdu filter : Enable bpdu guard : bpduguard shutdown-on-
violation :disable RootGuard: enable LoopGuard disable
Bpdus (MRecords) sent 134, received 138
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
--------------------------------------------------------------------------
ethernet1/1/4 128.272 128 500 BLK 500 32769 90b1.1cf4.a911 128.272
BPDU guard
OS10(config)# interface ethernet 1/1/4
OS10(conf-if-eth1/1/4)# spanning-tree bpduguard enable
OS10(conf-if-eth1/1/4)# do show spanning-tree interface ethernet 1/1/4
ethernet1/1/4 of vlan1 is designated Blocking
Edge port:no (default) port guard :none (default)
Link type is point-to-point (auto)
Boundary: NO bpdu filter : Enable bpdu guard : bpduguard shutdown-on-
violation :enable RootGuard: enable LoopGuard disable
Bpdus (MRecords) sent 134, received 138
Interface Designated
Name PortID Prio Cost Sts Cost Bridge ID PortID
------------------------------------------------------------------
ethernet1/1/4 128.272 128 500 BLK 500 32769 90b1.1cf4.a911 128.272
Loop guard
OS10(config)# interface ethernet 1/1/4
OS10(conf-if-eth1/1/4)# spanning-tree guard loop
OS10(conf-if-eth1/1/4)# do show spanning-tree interface ethernet 1/1/4
ethernet1/1/4 of vlan1 is root Forwarding
Edge port:no (default) port guard :none (default)
Link type is point-to-point (auto)
202
Layer 2