show spantree spanguardtrapenable
13-30 Spanning Tree Configuration
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example shows how to unlock port ge.1.16:
C3(rw)->clear spantree spanguardlock ge.1.16
show spantree spanguardtrapenable
Use this command to display the state of the Spanning Tree SpanGuard trap function.
Syntax
show spantree spanguardtrapenable
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Example
This example shows how to display the state of the SpanGuard trap function:
C3(ro)->show spantree spanguardtrapenable
Spanguard SNMP traps are enabled
set spantree spanguardtrapenable
Use this command to enable or disable the sending of an SNMP trap message when SpanGuard
has locked a port.
Syntax
set spantree spanguardtrapenable {disable | enable}
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 11-1.