5 RSTP-MST

Download as pdf or txt
Download as pdf or txt
You are on page 1of 22

Implementing Spanning Tree

Implementing RSTP
Rapid Spanning Tree Protocol
RSTP Port States
RSTP Port Roles
What Are Edge Ports?

• Will never have a switch connected to it


• Immediately transitions to forwarding
• Functions similarly to PortFast
• Configured by issuing the spanning-tree portfast command
RSTP Link Types
RSTP BPDU Flag Byte Use
RSTP Proposal and Agreement Process
Downstream RSTP Proposal and
Agreement

• Root and switch A synchronize.


• Ports on A come out of sync.
• Proposal or agreement takes
place between A and B.
RSTP Topology Change Mechanism
PVRST Implementation Commands

Configuring
• spanning-tree mode rapid-pvst
Verifying
• show spanning-tree vlan 101
Debugging
• debug spanning-tree
How to Implement Rapid PVRST
Verifying PVRST
Switch# show spanning-tree vlan 30
VLAN0030
Spanning tree enabled protocol rstp
Root ID Priority 24606
Address 00d0.047b.2800
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 24606 (priority 24576 sys-id-ext
30)
Address 00d0.047b.2800
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
-------- ----- --- --- -------- ----
Gi1/1 Desg FWD 4 128.1 P2p
Gi1/2 Desg FWD 4 128.2 P2p
Gi5/1 Desg FWD 4 128.257 P2p

Display spanning tree mode is set to PVRST.


Implementing Spanning Tree

Implementing MSTP
Multiple Spanning Tree Protocol

Instance 1 maps to VLANs 1–500


Instance 2 maps to VLANs 501–1000
MST Regions

MST configuration on each switch:


• Name
• Revision number
• VLAN association table
Extended System ID in Bridge ID Field
Interacting Between MST Regions
and 802.1D
Configuring MSTP

Switch(config)#spanning-tree mst configuration

• Enters MST configuration submode


Switch(config-mst)#name name

• Sets the MST region name


Switch(config-mst)#revision rev_num

• Sets the MST configuration revision number


Switch(config-mst)#instance inst vlan range

• Maps the VLANs to an MST instance


Switch(config-mst)#spanning-tree mst instance_number root
primary|secondary

• Establishes primary and secondary roots for MST instance


Verifying MSTP

Switch#show spanning-tree mst configuration

• Displays MSTP configuration information

Switch#show spanning-tree mst configuration


Name [cisco]
Revision 1
Instance Vlans mapped
-------- ---------------------------------------------------------------------
0 11-4094
1 1-10
-------------------------------------------------------------------------------
Verifying MSTP (Cont.)

Switch#show spanning-tree mst instance_number

• Displays configuration information for a specific MSTP instance

Switch#show spanning-tree mst 1

###### MST01 vlans mapped: 1-10


Bridge address 00d0.00b8.1400 priority 32769 (32768 sysid 1)
Root this switch for MST01

Interface Role Sts Cost Prio.Nbr Status


---------------- ---- --- --------- -------- --------------------------------
Fa4/4 Back BLK 1000 240.196 P2p
Fa4/5 Desg FWD 200000 128.197 P2p
Fa4/48 Boun FWD 200000 128.240 P2p Bound(STP)

Switch#clear spanning-tree detected-protocols [interface interface-id]

• Forces renegotiation with neighboring switches during migration process

You might also like