DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
603
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 router 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)#
65-5
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: 12.
Usage Guideline
Use this command in the global configuration mode to enable the global spanning-tree function.
Example
This example shows how to enable the spanning-tree function.
Switch# configure terminal
Switch(config)# spanning-tree global state enable
Switch(config)#
65-6
spanning-tree (timers)
This command is used to configure the Spanning Tree timer value. Use the
no
form of this command
to revert to the default settings.
spanning-tree {hello-time SECONDS | forward-time SECONDS | max-age SECONDS}
no spanning-tree {hello-time | forward-time | max-age}
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...