Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

PVST+, RSTP and RAPID-PVST+

Everyone

I was hoping we could start some discussion with the differences of the following protocols for spanning-tree.

I really started to get confused after I am just now learning STP. I do understand that these allow for faster convergence.

However - why do they all have to exist? What was wrong with the 802.1D

If this is something to advanced to get into - then perhaps a link to good documentation will surfice.

Thanks in advance to everyone who can participate here.

Joe

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: PVST+, RSTP and RAPID-PVST+

Joseph,

Just in general...

PVST+ is per-VLAN spanning tree (which is the default for most cisco switches).

It means that you will run an spanning-tree instance per VLAN.

This is useful when you need different layer 2 behaviors per VLAN, for example you can have different root bridge on different VLANs (so that spanning tree does not have to run as a whole on the layer 2 domain, but can run a different instance per-VLAN)

RSTP is rapid STP.

It is an enhancement to STP.

RSTP does not work with timers as regular STP (which takes up to 30-50 seconds to converge due to the transtion to all its states)

Regular STP can use port-fast for ports not connected to other switches, but all ports connected to other switches need to transition from blocking to listening, learning and finally forwarding.

RSTP optimizes this by using P2P lilnks and taking up to only 2 seconds to converge.

RPVST+

Is basically when you mix the two above.

You have an instance of rapid STP running per VLAN.

Also, some use MST which is another variance of STP which can group several VLANs to be part of a single MST region (and behave like RSTP inside that region).

MST is useful because if you have 1000 VLANs, normally you don't need to have 1000 STP/RSTP instances!!

You can instead have one instance with VLAN 1-500 and another instance with VLANs 501-1000 (just to give you an example)

You can get started here:

http://en.wikipedia.org/wiki/Spanning_tree

Federico.

Hall of Fame Super Blue

Re: PVST+, RSTP and RAPID-PVST+

Joe

Just to add to Federico's excellent reply.

They all exist because they are all still needed. Rapid STP / Rapid PVST+ is not supported on some of the older switches that may still be running in Enterprise networks.

And PVST, PVST+, Rapid PVST+ are Cisco proprietary because running an instance of STP per vlan is a Cisco specific thing.

Jon

6 REPLIES

Re: PVST+, RSTP and RAPID-PVST+

Joseph,

Just in general...

PVST+ is per-VLAN spanning tree (which is the default for most cisco switches).

It means that you will run an spanning-tree instance per VLAN.

This is useful when you need different layer 2 behaviors per VLAN, for example you can have different root bridge on different VLANs (so that spanning tree does not have to run as a whole on the layer 2 domain, but can run a different instance per-VLAN)

RSTP is rapid STP.

It is an enhancement to STP.

RSTP does not work with timers as regular STP (which takes up to 30-50 seconds to converge due to the transtion to all its states)

Regular STP can use port-fast for ports not connected to other switches, but all ports connected to other switches need to transition from blocking to listening, learning and finally forwarding.

RSTP optimizes this by using P2P lilnks and taking up to only 2 seconds to converge.

RPVST+

Is basically when you mix the two above.

You have an instance of rapid STP running per VLAN.

Also, some use MST which is another variance of STP which can group several VLANs to be part of a single MST region (and behave like RSTP inside that region).

MST is useful because if you have 1000 VLANs, normally you don't need to have 1000 STP/RSTP instances!!

You can instead have one instance with VLAN 1-500 and another instance with VLANs 501-1000 (just to give you an example)

You can get started here:

http://en.wikipedia.org/wiki/Spanning_tree

Federico.

New Member

Re: PVST+, RSTP and RAPID-PVST+

Federico

Orale! Thank you very much again for your insight and knowledge!

I will continue to venture into the world of Spanning Tree.

Gracias!!!!

Joe

Hall of Fame Super Blue

Re: PVST+, RSTP and RAPID-PVST+

Joe

Just to add to Federico's excellent reply.

They all exist because they are all still needed. Rapid STP / Rapid PVST+ is not supported on some of the older switches that may still be running in Enterprise networks.

And PVST, PVST+, Rapid PVST+ are Cisco proprietary because running an instance of STP per vlan is a Cisco specific thing.

Jon

New Member

Re: PVST+, RSTP and RAPID-PVST+

Jon

Thank you for response as well.

Do you think that anytime in the near future they will narrow it down?

Joe

Hall of Fame Super Blue

Re: PVST+, RSTP and RAPID-PVST+

joealbergo wrote:

Jon

Thank you for response as well.

Do you think that anytime in the near future they will narrow it down?

Joe

Joe

Unlikely i think although PVST+ and 802.1d should become largely unused due to Rapid-PVST+ and RSTP. If your switches support Rapid-PVST+ then there really is no reason to run PVST+ anymore.

Note also that Rapid-PVST+ is backwards compatible with PVST+ so you can run both in your network if you have switches that only support PVST+. If you do this then it becomes important to restrict the vlans that are allowed onto the PVST+ switches to only those needed. Any vlan that is present on both a PVST+ and Rapid-PVST+ switch has to revert to 802.1d timers so you lost the benefit of Rapid-PVST+ for those vlans.

Jon

New Member

Re: PVST+, RSTP and RAPID-PVST+

Jon

I am going to have to look more into these protocols.

Joe

12237
Views
25
Helpful
6
Replies