show spantree spanguard
13-26 Spanning Tree Configuration
Example
This example shows how to reset the protocol state migration machine on port 20:
C3(su)->set spantree protomigration ge.1.20
show spantree spanguard
Use this command to display the status of the Spanning Tree SpanGuard function.
Syntax
show spantree spanguard
Parameters
None.
Defaults
None.
Mode
Switch command, read-only.
Example
This example shows how to display the SpanGuard function status:
C3(su)->show spantree spanguard
Spanguard is disabled
set spantree spanguard
Use this command to enable or disable the Spanning Tree SpanGuard function.
Syntax
set spantree spanguard {enable | disable}
Parameters
Defaults
None.
Mode
Switch command, read-write.
Usage
SpanGuard is designed to disable, or lock out an “edge” port when an unexpected BPDU is
received. The port can be configured to be re-enabled after a set time period, or only after manual
intervention.
enable | disable Enables or disables the SpanGuard function.