Clear / set spantree spanguardlock, Show spantree spanguardtrapenable, Clear / set spantree – Enterasys Networks Enterasys D2 D2G124-12P User Manual

Page 220: Spanguardlock

Advertising
background image

clear / set spantree spanguardlock

6-28 Spanning Tree Configuration

Parameters

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 

ge

.1.1:

D2(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 6‐37).

Syntax

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

Parameters

Defaults

None.

Mode

Switch command, read‐write.

Example

This example shows how to unlock port 

ge

.1.16:

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

show spantree spanguardtrapenable

Use this command to display the state of the Spanning Tree SpanGuard trap function.

port‐string

(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 4‐1.

port‐string

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 4‐1.

Advertising
This manual is related to the following products: