Configuring Spanning Tree Bridge Parameters show spantree spanguard
6-36 Spanning Tree Configuration

show spantree spanguard

UsethiscommandtodisplaythestatusoftheSpanningTreespanguardfunction.
Syntax
show spantree spanguard
Parameters
None.
Defaults
None.
Mode
Switchcommand,ReadOnly.
Example
Thisexampleshowshowtodisplaythespanguardfunctionstatus:
Matrix(rw)->show spantree spanguard
spanguard is currently disabled.

set spantree spanguard

UsethiscommandtoenableordisabletheSpanningTreespanguardfunction.
Syntax
set spantree spanguard {enable | disable}
Parameters
Defaults
None.
Mode
Switchcommand,ReadWrite.
Usage
Whenenabled,thispreventsanunauthorizedbridgefrombecomingpartoftheactiveSpanning
Treetopology.ItdoesthisbydisablingaportthatreceivesaBPDUwhenthatporthasbeen
definedasanedge(user)port(asdescribedinsetspantreeadminedgeonpage 660).Thisport
willremaindisableduntiltheamountoftimedefinedbythesetspantreespanguardtimeout(“set
spantreespanguardtimeoutonpage 638)haspassedsincethelastseenBPDUortheportis
manuallyunlocked(asdescribedinclear/setspantreespanguardlockonpage 639).
enable|disable Enablesordisablesthespanguardfunction.