which type of spanning tree protocol should i implement ?

Posted on 2010-01-07
Last Modified: 2012-05-08
Hi Experts,
Iam a beginner in project and i need your help

I have 2 building (One core switch 4510 R-L) in every building
Every building has 4 floors (3 floor switch cisco 2960 in every floor)
And now I want to implement (Spanning Tree Protocol) who can help me as soon as possible
-      Core Switch has 4 VLANS as a follow :
VLAN 1 (for Management)
VLAN 2 (Users)
VLAN 3 and 4 (server)
Trunk Port encapsulation 802.1q (between Floor Switch and Core)

My Questions:
-      Which type of STP should I configure (RSTP, PVST , PVST+ ....etc )
-      Why , where , how configure Uplink Fast , Port Fast ( please expain to me simply )
-      Configuration Spanning tree In command Line ( in general )

Question by:Muhammed-Rummaneh
    LVL 2

    Expert Comment

    Frist of all , you need to check your IOS version support RTSP, RPVST+..etc. Since minimum software required. Please have a look:
    LVL 4

    Author Comment

    Hi Dear ,
    I have cisco Switches ( 4510R-L and 2960 TT-L ) and support RSTP
    LVL 9

    Expert Comment

    Use PVST+. You want PortFast on the ports connecting to hosts. For host ports you can use the command "switchport host", which turns on PortFast, and disabled DTP negotiation so the port will not become a trunk. Trunk port config would be:

    interface fa2/15
     switchport trunk encapsulation dot1q
     switchport mode trunk

    Here's a complete guide with examples:
    LVL 34

    Accepted Solution


    Portfast need on all PC, becouse STP blocking the teraffic for 30 sec when connected it to a port:

    int gi0/1
     spanning-tree portfast

    or on CatOS:
        Switch -A> (enable) set spantree portfast 2/1 enable

    UplinkFast is a Cisco specific feature that improves the convergence time of the Spanning-Tree Protocol (STP) in the event of the failure of an uplink. The UplinkFast feature is supported on Cisco Catalyst 4500/4000, 5500/5000, and 6500/6000 series switches running CatOS. This feature is also supported on Catalyst 4500/4000 and 6500/6000 switches that run Cisco IOS® System Software and 2900 XL/3500 XL, 2950, 3550, 3560 and 3750 series switches. The UplinkFast feature is designed to run in a switched environment when the switch has at least one alternate/backup root port (port in blocking state), that is why Cisco recommends that UplinkFast be enabled only for switches with blocked ports, typically at the access-layer. Do not use on switches without the implied topology knowledge of a alternative/backup root link typically to distribution and core switches in Cisco multilayer design.

    I think other experts gave you good examples!

    But here is a shorter:
    LVL 34

    Expert Comment

    by:Istvan Kalmar
    on catos the spanning-tree porfast command is:

    set spantree portfast
    LVL 8

    Expert Comment

    by default 4507 runs PVST (Per VLAN SPanning tree)

    u only need rstp if u goona use GLBP protocol also for rappid converg.
    LVL 50

    Expert Comment

    by:Don Johnston
    From your drawing, I doesn't look like you've got an redundant links. If that's the case, STP is irrelevant.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Join & Write a Comment

    Before I go to far, let's explain HA (High Availability) and why you should consider it.  High availability is the mechanism used to provide redundancy to any service at the same site and appears as a single service to the users of that service.  As…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now