CLI Reference Guide-R04

Table Of Contents
– 515 –
20 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 95: Spanning Tree Commands
Command Function Mode
spanning-tree Enables the spanning tree protocol GC
spanning-tree forward-time Configures the spanning tree bridge forward time GC
spanning-tree hello-time Configures the spanning tree bridge hello time GC
spanning-tree max-age Configures the spanning tree bridge maximum age GC
spanning-tree mode Configures STP, RSTP or MSTP mode GC
spanning-tree pathcost
method
Configures the path cost method for RSTP/MSTP GC
spanning-tree priority Configures the spanning tree bridge priority GC
spanning-tree mst
configuration
Changes to MSTP configuration mode GC
spanning-tree system-bpdu-
flooding
Floods BPDUs to all other ports or just to all other ports in
the same VLAN when global spanning tree is disabled
GC
spanning-tree transmission-
limit
Configures the transmission limit for RSTP/MSTP GC
max-hops Configures the maximum number of hops allowed in the
region before a BPDU is discarded
MST
mst priority Configures the priority of a spanning tree instance MST
mst vlan Adds VLANs to a spanning tree instance MST
name Configures the name for the multiple spanning tree MST
revision Configures the revision number for the multiple spanning
tree
MST
spanning-tree bpdu-filter Filters BPDUs for edge ports IC
spanning-tree bpdu-guard Shuts down an edge port if it receives a BPDU IC
spanning-tree cost Configures the spanning tree path cost of an interface IC
spanning-tree edge-port Enables fast forwarding for edge ports IC
spanning-tree link-type Configures the link type for RSTP/MSTP IC
spanning-tree loopback-
detection
Enables BPDU loopback detection for a port IC
spanning-tree loopback-
detection action
Configures the response for loopback detection to block
user traffic or shut down the interface
IC