Users Guide
Interface                                                  Designated
Name              PortID    Prio   Cost   Sts     Cost     Bridge ID                
PortID
-----------------------------------------------------------------------------------------
----
ethernet1/1/7     128.56    128    500    FWD     500      32769    90b1.1cf4.a625  
128.56
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)
Boundary: NO  bpdu filter : bpdu guard :  bpduguard shutdown-on-
violation :disable  RootGuard:  disable LoopGuard  enable
Bpdus (MRecords) sent 7, received 20
Interface                                                 Designated
Name           PortID  Prio  Cost Sts  Cost Bridge ID           PortID
-------------------------------------------------------------------------
ethernet1/1/4  128.272 128   500  FWD  0    32769    90b1.1cf4.9d3b 128.272
Root guard
os10(conf-if-eth1/1/7)# spanning-tree guard root
os10(conf-if-eth1/1/7)# do show spanning-tree interface ethernet 1/1/7
ethernet1/1/7 of vlan 1 is Designated Forwarding
Edge port: No (default)
Link type: point-to-point (auto)
Boundary: No, Bpdu-filter: Enable, Bpdu-Guard: Enable, Shutdown-on-Bpdu-Guard-violation: 
Yes
Root-Guard: Enable, Loop-Guard: Disable
Bpdus (MRecords) Sent: 6, Received: 6410
Interface                                                   Designated
Name              PortID    Prio   Cost   Sts     Cost      Bridge ID                
PortID
-----------------------------------------------------------------------------------------
----
ethernet1/1/7     128.56    128    500    FWD     500       32769    90b1.1cf4.a625  
128.56
Recover from BPDU guard violations
1. When there is BPDU guard violation on a port, OS10 either shuts down the port or moves it to BLOCKED state. Use the
following command in CONFIGURATION mode to shutdown the port. The no version of the command moves the port to
BLOCKED state.
errdisable detect cause bpduguard
2. In CONFIGURATION mode, use the following command to recover the ports from shutting down due to the detection of a
BPDU Guard violation. When the recovery option is enabled, the port is brought up after the recovery timer expires. The
default recovery timer value is 300 seconds. When the recovery option is disabled, the port remains shut down indefinitely.
You must manually bring up the port using the shutdown and no shutdown commands.
errdisable recovery cause bpduguard
The no version of the command disables the recovery option.
3. To change the recover timer value, use the following command in CONFIGURATION mode. This recovery timer value is
applicable only for shutdown case. For Blocking case, the default value of 300 seconds is used.
errdisable recovery interval interval-value
598
Layer 2










