Reset Search



Understanding the Spanguard autounlock feature

« Go Back


TitleUnderstanding the Spanguard autounlock feature
How does the spanguard autounlock feature work
  • S-Series
  • K-Series
  • 7100-Series
  • N-Series
  • Spanguard enabled  (By default, SpanGuard is globally disabled on the S- K- and 7100-Series devices )

If a SpanGuard enabled port receives a BPDU, it becomes locked and transitions to the blocking state.
It only transitions out of the blocking state after a globally specified time or when it is manually unlocked.

If you configure spanguardtimeout = 0 then the port remains locked until it is manually cleared.

However, if there is a link down/up on the port then this can also clear the lock.

This is where autounlock comes in.  Span Guard Autounlock sets the automatic unlocking of spanguard-locked ports when operstatus is not up (for example, link loss). When the value is enable the port become unlocked. When the value is disable the port remains locked until manually unlocked using the set spantree spanguard-autounlock or clear spantree spanguard-autounlock commands.

The default setting for the switch is Autounlock enabled. 

Syntax :

set spantree spanguard-autounlock [enable | disable]
Additional notes



Was this article helpful?



Please tell us how we can make this article more useful.

Characters Remaining: 255