Use this command to enable SpanGuard on the device:
set spantree spanguard enable
Use this command to adjust the SpanGuard timeout value. This sets the length of time that a SpanGuard-affected port will remain locked:
set spantree spanguardtimeout timeout
Valid values are 0–65535 seconds. Default is 300 seconds. Setting the value to 0 will set the timeout to forever.
Use this command to manually unlock a port that was locked by the SpanGuard function. This overrides the specified timeout variable:
set spantree spanguardlock port-string