set spantree lp
8-42 Spanning Tree Configuration
set spantree lp
UsethiscommandtoenableordisabletheLoopProtectfeatureperportandoptionally, perSID.
TheLoopProtectfeatureisdisabledbydefault.See“LoopProtect”onpage 2.formore
information.
Syntax
set spantree lp port-string {enable | disable} [sid sid]
Parameters
Defaults
IfnoSIDisspecified,SID0isassumed.
Mode
Switchcommand,read‐write.
Usage
LoopProtecttakesprecedenceoverperportSTPenable/disable(portAdmin).Normally
portAdmindisabledwouldcauseaporttogoimmediatelytoforwarding.IfLoopProtectis
enabled,thatportshouldgotolisteningandremainthere.
Example
ThisexampleshowshowtoenableLoopProtectonfe.2.3:
D2(su)->set spantree lp fe.1.11 enable
show spantree lp
UsethiscommandtodisplaytheLoopProtectstatusperportand/orperSID.
Syntax
show spantree lp [port port-string] [sid sid]
Parameters
port‐string Specifiesport(s)onwhichtoenableordisabletheLoopProtectfeature.
enable|disable Enablesordisablesthefeatureonthespecifiedport.
sidsid (Optional)EnablesordisablesthefeatureforspecificSpanningTree(s).
Validvaluesare0‐4094.Ifnotspecified,SID0isassumed.
Note: The Loop Protect enable/disable settings for an MSTI port should match those for the CIST
port.
port‐string (Optional)Specifiesport(s)forwhichtodisplaytheLoopProtect
featurestatus.
sidsid (Optional)SpecifiesthespecificSpanningTree(s)forwhichtodisplay
theLoopProtectfeaturestatus.Validvaluesare0‐4094.Ifnot
specified,SID0isassumed.