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,read‐only.
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(asdescribedin“setspantreeadminedge”onpage 6‐38).
Syntax
clear spantree spanguardlock port-string
set spantree spanguardlock port-string
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
port‐string (Optional)Specifiestheport(s)forwhichtoshowspanguardlockstatus.
Foradetaileddescriptionofpossibleport‐stringvalues,referto“PortString
SyntaxUsedintheCLI”onpage 4‐1.
port‐string Specifiesport(s)tounlock.Foradetaileddescriptionofpossibleport‐string
values,referto“PortStringSyntaxUsedintheCLI”onpage 4‐1.