Topology Change and Topology Change Detection
Set Spanning Tree Compatibility to STP
Restore Spanning Tree Compatibility
Restore the Default Bridge Priority
Configuring the STP Port Priority
Port Priority Configuration Topology Example
Restore the Default Port Priority
Configuring the Spanning Tree Link Type
Spanning Tree Link Type Overview
Configure the Interface Link Type
Restore the Default Interface Link Type
Configuring the Spanning Tree Portfast Port
Spanning Tree Portfast Port Overview
Restore the Default Portfast Port
Configuring Spanning Tree Timers
Restore the Default Timer Values
Configuring the Pseudo Root ID
Display Spanning Tree Information for Active Ports
Display Detailed Spanning Tree Information
Display the Spanning Tree Port-Specification Configuration
Display a Summary of the Spanning Tree Information for the Configuration
Specify MST Forward Time, Hello Time, and Max Age
Set the Spanning Tree Operating Mode
Specify MST Mode Configurations
Configuring the Spanning Tree Switch Priority
Configure the Spanning Tree Switch Priority
Restore the Default Spanning Tree Priority
Configure MST Properties of an Interface
Restore the Default MSTP Priority
Configuring the Interval Between Generation of Configuration Messages
Configure the MST Interval Between Generation of Configuration Messages
Restore the Default Interval Between Generation of Configuration Messages
Configuring the Maximum Hop Count
Configure the Maximum Hop Count
Restore the Default Maximum Hop Count
Configuring the Pseudo Root ID
Configuring Features Common to RSTP and MSTP
Clear Spanning Tree MSTP Counters
Configuring the Transit Hold Count
Configure the Transmit Hold Count
Restore the Default Transmit Hold Count Value
Configuring the Dynamic Path Cost
Dynamic Path Cost Topology Example
Configure the Dynamic Path Cost
Configure the Dynamic Path Cost in an Aggregate Port
Disable the Dynamic Path Cost Calculation
Configure the Dynamic Path Cost Lag Speed in an Aggregate Port
Disable the Dynamic Path Cost Lag Speed Calculation
Enable Spanning Tree Loop Guard
Show Spanning Tree Performance Data
Configuring Automatic Detection of Edge Devices or Bridges
Configure Automatic Detection of Edge Devices or Bridges
Disable Automatic Detection of Edge Devices or Bridges
Configuring the Restricted Role
Configuring the Topology Change
Restart the Protocol Migration Process
Configuring the Spanning Tree BPDU Receive Status
Configure the Spanning Tree BPDU Receive Status
Disable the Spanning Tree BPDU Receive Status
Configuring the Spanning Tree BPDU Transmit Status
Configure the Spanning Tree BPDU Transmit Status
Disable the Spanning Tree BPDU Transmit Status
Configuring the Spanning Tree L2GP Status
Configure the Spanning Tree L2GP Status
Display the Spanning Port Information
Display the MST Configuration and Status
Topology After Configuring the Bridge Priority and Port Path Cost in RSTP
See MSTP Configuration Guidelines for the topology setup. By default, all switches run MSTP.
SEFOS# configure terminal SEFOS(config)# vlan 2 SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2 SEFOS(config-vlan)# exit SEFOS(config)# vlan 3 SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2 SEFOS(config-vlan)# exit SEFOS(config)# vlan 4 SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2 SEFOS(config-vlan)# end
SEFOS# show spanning-tree Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 2 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 3 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 4 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
SEFOS# show spanning-tree Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 2 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 3 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 4 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent
SEFOS# show spanning-tree Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18 Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 2 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 3 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 4 Member Ports : Ex0/1, Ex0/2 Untagged Ports : None Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
SEFOS# configure terminal SEFOS(config)# spanning-tree mst configuration SEFOS(config-mst)# instance 1 vlan 2 SEFOS(config-mst)# instance 2 vlan 3 SEFOS(config-mst)# instance 3 vlan 4 SEFOS(config-mst)# end
Switch 1 is root for spanning tree instance 1.
Switch 2 is root for spanning tree instance 2.
Switch 3 is root for spanning tree instance 3.
SEFOS# configure terminal SEFOS(config)# spanning-tree mst 1 priority 0 SEFOS(config-mst)# spanning-tree mst configuration SEFOS(config-mst)# name reg1 SEFOS(config-mst)# end
SEFOS# configure terminal SEFOS(config)# spanning-tree mst 2 priority 0 SEFOS(config-mst)# name reg1 SEFOS(config-mst)# end
SEFOS# configure terminal SEFOS(config)# spanning-tree mst 3 priority 0 SEFOS(config-mst)# name reg1 SEFOS(config-mst)# end
SEFOS# show spanning-tree Root Id Priority 32768 Address 00:01:02:03:04:01 Cost 0 Port 0 [0] This bridge is the root Max age 20 Sec, forward delay 15 Sec MST00 MST00 is executing the mstp compatible Multiple Spanning Tree Protocol Bridge Id Priority 32768 Address 00:01:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Designated Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST01 Root Id Priority 0 Address 00:01:02:03:04:01 This bridge is the root Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 0 Address 00:01:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Designated Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST02 Root Id Priority 0 Address 00:02:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:01:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST03 Root Id Priority 0 Address 00:03:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:01:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Designated Forwarding 200000 128 SharedLan Ex0/2 Root Forwarding 200000 128 SharedLan
SEFOS# show spanning-tree Root Id Priority 32768 Address 00:01:02:03:04:01 Cost 0 Port 1 [Ex0/1] Max age 20 Sec, forward delay 15 Sec MST00 MST00 is executing the mstp compatible Multiple Spanning Tree Protocol Bridge Id Priority 32768 Address 00:02:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST01 Root Id Priority 0 Address 00:01:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:02:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST02 Root Id Priority 0 Address 00:02:02:03:04:01 This bridge is the root Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 0 Address 00:02:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Designated Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan MST03 Root Id Priority 0 Address 00:03:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:02:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Alternate Discarding 200000 128 SharedLan Ex0/2 Root Forwarding 200000 128 SharedLan
SEFOS# show spanning-tree Root Id Priority 32768 Address 00:01:02:03:04:01 Cost 0 Port 1 [Ex0/1] Max age 20 Sec, forward delay 15 Sec MST00 MST00 is executing the mstp compatible Multiple Spanning Tree Protocol Bridge Id Priority 32768 Address 00:03:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 200000 128 SharedLan Ex0/2 Alternate Discarding 200000 128 SharedLan MST01 Root Id Priority 0 Address 00:01:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:03:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 200000 128 SharedLan Ex0/2 Alternate Discarding 200000 128 SharedLan MST02 Root Id Priority 0 Address 00:02:02:03:04:01 Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 32768 Address 00:03:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Alternate Discarding 200000 128 SharedLan Ex0/2 Root Forwarding 200000 128 SharedLan MST03 Root Id Priority 0 Address 00:03:02:03:04:01 This bridge is the root Max age 20 Sec, forward delay 15 Sec Bridge Id Priority 0 Address 00:03:02:03:04:01 Max age is 20 sec, forward delay is 15 sec Name Role State Cost Prio type --------- ---- ----- ---- ---- ------ Ex0/1 Designated Forwarding 200000 128 SharedLan Ex0/2 Designated Forwarding 200000 128 SharedLan