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,Read‐Only.
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,Read‐Write.
Usage
Whenenabled,thispreventsanunauthorizedbridgefrombecomingpartoftheactiveSpanning
Treetopology.ItdoesthisbydisablingaportthatreceivesaBPDUwhenthatporthasbeen
definedasanedge(user)port(asdescribedin“setspantreeadminedge”onpage 6‐60).Thisport
will
remaindisableduntiltheamountoftimedefinedbythesetspantreespanguardtimeout(“set
spantreespanguardtimeout”onpage 6‐38)haspassedsincethelastseenBPDUortheportis
manuallyunlocked(asdescribedin“clear/setspantreespanguardlock”onpage 6‐39).
enable|disable Enablesordisables
thespanguardfunction.