Specifications

clear spantree spanguard
6-26 Spanning Tree Configuration
spanguardtimeout(“setspantreespanguardtimeoutonpage 627)haspassedsincethelastseen
BPDU,theportismanuallyunlocked(setorclearspantreespanguardlock,clear/setspantree
spanguardlockonpage 628),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,readwrite.
Example
Thisexampleshowshowtoresetthestatusofthespanguardfunctiontodisabled:
C3(rw)->clear spantree spanguard
show spantree spanguardtimeout
UsethiscommandtodisplaytheSpanningTreespanguardtimeoutsetting.
Syntax
show spantree spanguardtimeout
Parameters
None.
Defaults
None.
Mode
Switchcommand,readonly.