4 Command Line Interface

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

Command

Function

Mode

Page

spanning-tree

Enables the spanning tree protocol

GC

4-145

 

 

 

 

spanning-tree mode

Configures STP, RSTP or MSTP mode

GC

4-145

 

 

 

 

spanning-tree forward-time

Configures the spanning tree bridge forward time

GC

4-146

 

 

 

 

spanning-tree hello-time

Configures the spanning tree bridge hello time

GC

4-147

 

 

 

 

spanning-tree max-age

Configures the spanning tree bridge maximum age

GC

4-147

 

 

 

 

spanning-tree priority

Configures the spanning tree bridge priority

GC

4-148

 

 

 

 

spanning-tree

Configures the path cost method for RSTP/MSTP

GC

4-149

path-cost method

 

 

 

spanning-tree

Configures the transmission limit for RSTP/MSTP

GC

4-150

transmission-limit

 

 

 

spanning-tree

Changes to MSTP configuration mode

GC

4-150

mst-configuration

 

 

 

mst vlan

Adds VLANs to a spanning tree instance

MST

4-151

 

 

 

 

mst priority

Configures the priority of a spanning tree instance

MST

4-151

 

 

 

 

name

Configures the name for the multiple spanning tree

MST

4-152

 

 

 

 

revision

Configures the revision number for the multiple spanning

MST

4-153

 

tree

 

 

max-hops

Configures the maximum number of hops allowed in the

MST

4-153

 

region before a BPDU is discarded

 

 

spanning-tree

Disables spanning tree for an interface

IC

4-154

spanning-disabled

 

 

 

spanning-tree cost

Configures the spanning tree path cost of an interface

IC

4-154

 

 

 

 

spanning-tree port-priority

Configures the spanning tree priority of an interface

IC

4-155

 

 

 

 

spanning-tree edge-port

Enables fast forwarding for edge ports

IC

4-156

 

 

 

 

spanning-tree portfast

Sets an interface to fast forwarding

IC

4-156

 

 

 

 

spanning-tree link-type

Configures the link type for RSTP/MSTP

IC

4-157

 

 

 

 

spanning-tree mst cost

Configures the path cost of an instance in the MST

IC

4-158

 

 

 

 

spanning-tree mst

Configures the priority of an instance in the MST

IC

4-159

port-priority

 

 

 

spanning-tree

Re-checks the appropriate BPDU format

PE

4-160

protocol-migration

 

 

 

show spanning-tree

Shows spanning tree configuration for the common

PE

4-160

 

spanning tree (i.e., overall bridge), a selected interface, or

 

 

 

an instance within the multiple spanning tree

 

 

show spanning-tree mst

Shows the multiple spanning tree configuration

PE

4-162

configuration

 

 

 

4-144

Page 386
Image 386
SMC Networks SMC8150L2 manual Spanning Tree Commands Function Mode