– 757 –
33 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 99: 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
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 release-mode
Configures loopback release mode for a port IC
spanning-tree loopback-
detection trap
Enables BPDU loopback SNMP trap notification for a
port
IC
spanning-tree mst cost Configures the path cost of an instance in the MST IC
spanning-tree mst port-
priority
Configures the priority of an instance in the MST IC