Spanning Tree Commands
4-275
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
loopback-detection
release-mode
Configures loopback release mode for a port
IC
4-293
spanning-tree
loopback-detection trap
Enables BPDU loopback SNMP trap notification for a port IC
4-294
spanning-tree mst cost
Configures the path cost of an instance in the MST
IC
4-294
spanning-tree mst
port-priority
Configures the priority of an instance in the MST
IC
4-295
spanning-tree
protocol-migration
Re-checks the appropriate BPDU format
PE
4-296
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-297
show spanning-tree mst
configuration
Shows the multiple spanning tree configuration
PE
4-299
Console(config)#spanning-tree
Console(config)#
Table 4-69 Spanning Tree Commands
(Continued)
Command
Function
Mode
Page
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......