Defaults
If no port‐string is specified, status is displayed for all ports.
If no SID is specified, SID 0 is assumed.
Mode
Switch command, read‐only.
Example
This example shows how to display Loop Protect status on ge.2.3:
C2(su)->show spantree lp port
LoopProtect is disabled on port
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 ge.2.3 to disabled:
C2(rw)->clear spantree lp port
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]
ge.
2.3
ge.
2.3
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.
ge.
2.3
, SI
SecureStack C2 Configuration Guide 9-43
clear spantree lp