Spanning Tree Commands 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.

Table 4-49. Spanning Tree Commands

Command

Function

Mode

Page

spanning-tree

Enables the spanning tree protocol

GC

4-133

 

 

 

 

spanning-tree mode

Configures STP or RSTP

GC

4-134

 

 

 

 

spanning-tree forward-time

Configures the spanning tree bridge forward time

GC

4-135

 

 

 

 

spanning-tree hello-time

Configures the spanning tree bridge hello time

GC

4-135

 

 

 

 

spanning-tree max-age

Configures the spanning tree bridge maximum age

GC

4-136

 

 

 

 

spanning-tree priority

Configures the spanning tree bridge priority

GC

4-137

 

 

 

 

spanning-tree

Configures the path cost method for RSTP

GC

4-137

path-cost method

 

 

 

spanning-tree

Configures the transmission limit for RSTP

GC

4-138

transmission-limit

 

 

 

spanning-tree cost

Configures the spanning tree path cost of an interface

IC

4-138

 

 

 

 

spanning-tree port-priority

Configures the spanning tree priority of an interface

IC

4-139

 

 

 

 

spanning-tree edge-port

Enables fast forwarding for edge ports

IC

4-140

 

 

 

 

spanning-tree portfast

Sets an interface to fast forwarding

IC

4-141

 

 

 

 

spanning-tree link-type

Configures the link type for RSTP

IC

4-141

 

 

 

 

spanning-tree

Re-checks the appropriate BPDU format

PE

4-143

protocol-migration

 

 

 

show spanning-tree

Shows spanning tree configuration for the common

PE

4-143

 

spanning tree (i.e., overall bridge) or a 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,

4-133

Page 309
Image 309
SMC Networks 16 10BASE-T Spanning-tree, Spanning Tree Commands Function Mode, Syntax No spanning-tree Default Setting