Specifications
clear spantree spanguard
6-26 Spanning Tree Configuration
spanguardtimeout(“setspantreespanguardtimeout”onpage 6‐27)haspassedsincethelastseen
BPDU,theportismanuallyunlocked(setorclearspantreespanguardlock,“clear/setspantree
spanguardlock”onpage 6‐28),theconfigurationoftheportischangedsoitisnotlongeranedge
port,or
thespanguardfunctionisdisabled.
Spanguardisenabledanddisabledonlyonaglobalbasisacrossthestack.Bydefault,spanguard
isdisabledandspanguardtrapsareenabled.
Example
Thisexampleshowshowtoenablethespanguardfuncti on:
C3(rw)->set spantree spanguard enable
clear spantree spanguard
UsethiscommandtoresetthestatusoftheSpanningTreespanguardfunctiontodisabled.
Syntax
clear spantree spanguard
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoresetthestatusofthespanguardfunctiontodisabled:
C3(rw)->clear spantree spanguard
show spantree spanguardtimeout
UsethiscommandtodisplaytheSpanningTreespanguardtimeoutsetting.
Syntax
show spantree spanguardtimeout
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.