Use this command to enable or disable the Spanning Tree span guard function.
enable | disable | Enables or disables the span guard function. |
None.
All command modes.
When enabled, this prevents an unauthorized bridge from becoming part of the active Spanning Tree topology. It does this by disabling a port that receives a BPDU when that port has been defined as an edge (user) port (as described in set spantree adminedge). This port will remain disabled until the amount of time defined by set spantree spanguardtimeout has passed since the last seen BPDU or the port is manually unlocked (as described in clear / set spantree spanguardlock).
This example shows how to enable the span guard function:
System(rw)->set spantree spanguard enable