Configuring Spanning Tree Loop Protect Features
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.
Mode
Switch command, Read‐Only.
Usage
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.
Example
This example shows how to display Loop Protect lock status on ge.1.1:
Matrix(rw)->show spantree lplock port ge.1.1
LoopProtect Lock status for port ge.1.1
clear spantree lplock
Use this command to manually unlock a blocked port and optionally, per SID.
Syntax
clear spantree lplock port-string [sid sid]
Parameters
port‐string
sid sid
Defaults
If no SID is specified, SID 0 is assumed.
Mode
Switch command, Read‐Only.
6-68 Spanning Tree Configuration
(Optional) Specifies port(s) for which to display the Loop Protect lock
status. For a detailed description of possible port‐string values, refer to
"Port String Syntax Used in the CLI" on page 4‐2.
(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.
Specifies port(s) for which to clear the Loop Protect lock. For a detailed
description of possible port‐string values, refer to "Port String Syntax
Used in the CLI" on page 4‐2.
(Optional) Specifies the specific Spanning Tree(s) for which to clear the
Loop Protect lock. Valid values are 0 ‐ 4094. If not specified, SID 0 is
assumed.
, SID 0
is UNLOCKED.
clear spantree lplock