ECS2020 Series CLI Reference Guide R04

80
22 Spanning-tree
When configuring Spanning Tree, use the web manager for general settings and the CLI
commands for both general and detailed settings.
22.1
Configure Commands
spanning-tree enable
Enable spanning-tree function, to avoid network loops, enabling spanning tree function on the
switch will block a port on a looped path according to the port role.
spanning-tree enable
no spanning-tree enable
Disabled
Global configuration mode
In the global mode, configuration spanning-tree
Configure the spanning tree to turn on or off.
ECS2020-10P(config)# spanning-tree enable
ECS2020-10P(config)# no spanning-tree enable
Parameter
Parameter
Description
enable
Enable spanning-tree,the default is
disable
no
Disable spanning-tree
Command
Command
Description
show spanning-tree
View the current spanning tree status
and configuration information.
Default
Mode
Usage
Example