clear / set spantree spanguardlock
Parameters
port‐string
Defaults
If no port string is specified, the SpanGuard lock status for all ports is displayed.
Mode
Switch command, read‐only.
Example
This example shows how to display the SpanGuard lock status for
C2(su)->show spantree spanguardlock ge.1.1
Port ge.1.1 is Unlocked
clear / set spantree spanguardlock
Use either of these commands to unlock one or more ports locked by the Spanning Tree
SpanGuard function. When SpanGuard is enabled, it locks ports that receive BPDUs when those
ports have been defined as edge (user) ports (as described in "set spantree adminedge" on
page 7‐37).
Syntax
clear spantree spanguardlock port-string
set spantree spanguardlock port-string
Parameters
port‐string
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to unlock port
C2(rw)->clear spantree spanguardlock ge.1.16
show spantree spanguardtrapenable
Use this command to display the state of the Spanning Tree SpanGuard trap function.
7-28 Spanning Tree Configuration
(Optional) Specifies the port(s) for which to show SpanGuard lock status.
For a detailed description of possible port‐string values, refer to "Port String
Syntax Used in the CLI" on page 5‐2.
Specifies port(s) to unlock. For a detailed description of possible port‐string
values, refer to "Port String Syntax Used in the CLI" on page 5‐2.
.1.16:
ge
.1.1:
ge