LevelOne GSW-2692 Switch User Manual


 
Spanning Tree Commands
4-137
4
Spanning Tree Commands
This section includes commands that configure the Spanning Tree Algorithm (STA)
globally for the switch, and commands that configure STA for the selected interface.
spanning-tree
This command enables the Spanning Tree Algorithm globally for the switch. Use the
no form to disable it.
Syntax
[no] spanning-tree
Default Setting
Spanning tree is enabled.
Command Mode
Global Configuration
Command Usage
The Spanning Tree Algorithm (STA) can be used to detect and disable
network loops, and to provide backup links between switches, bridges or
routers. This allows the switch to interact with other bridging devices (that is,
Table 4-50 Spanning Tree Commands
Command Function Mode Page
spanning-tree Enables the spanning tree protocol GC 4-137
spanning-tree mode Configures STP or RSTP GC 4-138
spanning-tree forward-time Configures the spanning tree bridge forward time GC 4-139
spanning-tree hello-time Configures the spanning tree bridge hello time GC 4-139
spanning-tree max-age Configures the spanning tree bridge maximum age GC 4-140
spanning-tree priority Configures the spanning tree bridge priority GC 4-141
spanning-tree
path-cost method
Configures the path cost method for RSTP GC 4-141
spanning-tree
transmission-limit
Configures the transmission limit for RSTP GC 4-142
spanning-tree cost Configures the spanning tree path cost of an interface IC 4-142
spanning-tree port-priority Configures the spanning tree priority of an interface IC 4-143
spanning-tree edge-port Enables fast forwarding for edge ports IC 4-144
spanning-tree portfast Sets an interface to fast forwarding IC 4-145
spanning-tree link-type Configures the link type for RSTP IC 4-145
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format PE 4-147
show spanning-tree Shows spanning tree configuration for the common
spanning tree (i.e., overall bridge) or a selected interface
PE 4-147