DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
182
new-root
(Optional) Specifies the sending of STP new root notification.
topology-chg
(Optional) Specifies the sending of STP topology change
notification.
Default
By default, these options are disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.
Usage Guideline
Use this command to enable the sending of notification traps. When using this command with no parameters
specified, both STP notification types are enabled or disabled.
Example
This example shows how to enable the switch to send all STP traps to the host 10.9.18.100 using the
community string defined as public.
Switch# configure terminal
Switch(config)# snmp-server enable traps
Switch(config)# snmp-server enable traps stp
Switch(config)# snmp-server host 10.9.18.100 version 2c public
Switch(config)#
33-4
spanning-tree global state
This command is used to enable or disable the STP’s global state. Use the
no
form to disable the STP’s global
state.
spanning-tree global state {enable | disable}
no spanning-tree global state
Parameters
enable
Specifies to enable the STP’s global state.
disable
Specifies to disable the STP’s global state.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 15.