Command Line Interface
4-200
4
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,
an STA-compliant switch, bridge or router) in your network to ensure that only
one route exists between any two stations on the network, and provide backup
links which automatically take over when a primary link goes down.
Example
This example shows how to enable the Spanning Tree Algorithm for the switch:
spanning-tree mode
This command selects the spanning tree mode for this switch. Use the
no
form to
restore the default.
Note:
MSTP is not supported in the current software.
Syntax
spanning-tree mode
{
stp
|
rstp
|
mstp
}
no spanning-tree mode
•
stp
- Spanning Tree Protocol (IEEE 802.1D)
•
rstp
- Rapid Spanning Tree Protocol (IEEE 802.1w)
•
mstp
- Multiple Spanning Tree (IEEE 802.1s)
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format
PE
4-217
show spanning-tree
Shows spanning tree configuration for the common
spanning tree (i.e., overall bridge), a selected interface, or
an instance within the multiple spanning tree
PE
4-217
show spanning-tree mst
configuration
Shows the multiple spanning tree configuration
PE
4-219
Console(config)#spanning-tree
Console(config)#
Table 4-60 Spanning Tree Commands
(Continued)
Command
Function
Mode
Page
Summary of Contents for 6128PL2
Page 2: ......
Page 8: ...viii ...
Page 26: ...Contents xviii ...
Page 30: ...Tables xxii ...
Page 52: ...Initial Configuration 2 10 2 ...
Page 308: ...Configuring the Switch 3 256 3 ...
Page 473: ...SNMP Commands 4 165 4 ...
Page 644: ...Command Line Interface 4 336 4 ...
Page 648: ...Software Specifications A 4 A ...
Page 663: ......