Specifications

show spantree spanguardlock
6-28 Spanning Tree Configuration
Example
Thisexampleshowshowtoresetthespanguardtimeoutto300seconds:
C3(rw)->clear spantree spanguardtimeout
show spantree spanguardlock
Usethiscommandtodisplaythespanguardlockstatusofoneormoreports.
Syntax
show spantree spanguardlock [port-string]
Parameters
Defaults
Ifnoportstringisspecified,thespanguardlockstatusforallportsisdisplayed.
Mode
Switchcommand,readonly.
Example
Thisexampleshowshowtodisplaythespanguardlockstatusforge.1.1:
C3(su)->show spantree spanguardlock ge.1.1
Port ge.1.1 is Unlocked
clear / set spantree spanguardlock
UseeitherofthesecommandstounlockoneormoreportslockedbytheSpanningTreespan
guardfunction.Whenspanguardisenabled,itlocksportsthatreceiveBPDUswhenthoseports
havebeendefinedasedge(user)ports(asdescribedinsetspantreeadminedgeonpage 638).
Syntax
clear spantree spanguardlock port-string
set spantree spanguardlock port-string
Parameters
Defaults
None.
Mode
Switchcommand,readwrite.
portstring (Optional)Specifiestheport(s)forwhichtoshowspanguardlockstatus.
Foradetaileddescriptionofpossibleportstringvalues,refertoPortString
SyntaxUsedintheCLIonpage 41.
portstring Specifiesport(s)tounlock.Foradetaileddescriptionofpossibleportstring
values,refertoPortStringSyntaxUsedintheCLIonpage 41.