set spantree spanguard-autounlock

Use this command to enable or disable Span Guard Autounlock.

Syntax

set spantree spanguard-autounlock [enable | disable]

Parameters

enable Enables Span Guard Autounlock.
disable Disables Span Guard Autounlock.

Defaults

The default for Span Guard Autounlock is enabled.

Mode

All command modes.

Usage

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 becomes unlocked. When the value is disable the port remains locked until manually unlocked using this command or the clear spantree spanguard-autounlock command.

Example

This example enables Span Guard Autounlock:

set spantree spanguard-autounlock enable