Specifications
show spantree spanguard
SecureStack C3 Configuration Guide 6-25
show spantree spanguard
UsethiscommandtodisplaythestatusoftheSpanningTreespanguardfunction.
Syntax
show spantree spanguard
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
Thisexampleshowshowtodisplaythespanguardfunctionstatus:
C3(su)->show spantree spanguard
Spanguard is disabled
set spantree spanguard
UsethiscommandtoenableordisabletheSpanningTreespanguardfunction.
Syntax
set spantree spanguard {enable | disable}
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Spanguardisdesignedtodisable,orlockoutanʺedgeʺportwhenanunexpectedBPDUis
received.Theportcanbeconfiguredtobere‐enabledafterasettimeperiod,oronlyaftermanual
intervention.
Aportcanbedefinedasanedge(user)portusingthesetspantree
adminedgecommand,
describedin“setspantreeadminedge”onpage 6‐38.Aportdesignatedasanedgeportis
expectedtobeconnectedtoaworkstationorotherend‐usertypeofdevice,andnottoanother
switchinthenetwork.WhenSpanguardisenabled,ifanon‐loopbackBPDU
isreceivedonan
edgeport,theSpanningTreestateofthatportwillbechangedtoʺblockingʺandwillnolonger
forwardtraffic.Theportwillremaindisableduntiltheamountoftimedefinedbysetspantree
enable|disable Enablesordisablesthespanguardfunction.