Enterasys Networks D2G124-12P Benutzerhandbuch

Seite von 496
set spantree spanguardtrapenable
D-Series CLI Reference 6-29
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:
D2(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}
Parameters
Defaults
None.
Mode
Switch command, read‐write.
Example
This example shows how to disable the SpanGuard trap function:
D2(su)->set spantree spanguardtrapenable disable
clear spantree spanguardtrapenable
Use this command to reset the Spanning Tree SpanGuard trap function back to the default state of 
enabled.
Syntax
clear spantree spanguardtrapenable
disable enable
Disables or enables sending SpanGuard traps. By default, sending traps 
is enabled.