clear spantree lp
Use this command to return the Loop Protect status per port and optionally, per SID, to its default
state of disabled.
Syntax
clear spantree lp port-string [sid sid]
Parameters
port‐string
sid sid
Defaults
If no SID is specified, SID 0 is assumed.
Mode
Switch command, read‐write.
Example
This example shows how to return the Loop Protect state on
D2(rw)->clear spantree lp port ge.2.3
show spantree lplock
Use this command to display the Loop Protect lock status per port and/or per SID. A port can
become locked if a configured number of Loop Protect events occur during the configured
window of time. See the set spantree lpthreshold and set spantree lpwindow commands. Once a
port is forced into blocking (locked), it remains locked until manually unlocked with the clear
spantree lplock command.
Syntax
show spantree lplock [port port-string] [sid sid]
Parameters
port‐string
sid sid
Defaults
If no port‐string is specified, status is displayed for all ports.
If no SID is specified, SID 0 is assumed.
Specifies port(s) for which to clear the Loop Protect feature status.
(Optional) Specifies the specific Spanning Tree(s) for which to clear the
Loop Protect feature status. Valid values are 0 ‐ 4094. If not specified,
SID 0 is assumed.
(Optional) Specifies port(s) for which to display the Loop Protect lock
status.
(Optional) Specifies the specific Spanning Tree(s) for which to display
the Loop Protect lock status. Valid values are 0 ‐ 4094. If not specified,
SID 0 is assumed.
ge
.2.3 to disabled:
D-Series CLI Reference 6-41
clear spantree lp