clear / set spantree spanguardlock

Use either of these commands to unlock one or more ports locked by the Spanning Tree span guard function.

Syntax

clear spantree spanguardlock port-string
set spantree spanguardlock port-string

Parameters

port-string Specifies port(s) to unlock. For a detailed description of possible port-string values, refer to the S-, K-, and 7100 Series Configuration Guide.

Defaults

None.

Mode

All command modes.

Usage

When span guard is enabled, it locks ports that receive BPDUs when those ports have been defined as edge (user) ports (as described in set spantree adminedge).

Example

This example shows how to unlock port ge.1.16:

System(rw)->clear spantree spanguardlock ge.1.16