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 Specifies port(s) for which to clear the Loop Protect lock. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.
sid sid (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.

Defaults

If no SID is specified, SID 0 is assumed.

Mode

All command modes.

Usage

The default state is unlocked.

Example

This example shows how to clear Loop Protect lock from ge.1.1:

System(rw)->show spantree lplock port ge.1.1
LoopProtect Lock status for port ge.1.1    , SID 0   is LOCKED.
System(rw)->clear spantree lplock ge.1.1
System(rw)->show spantree lplock port ge.1.1
LoopProtect Lock status for port ge.1.1    , SID 0   is UNLOCKED.