Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7827115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T09:43:33+00:00 2026-06-02T09:43:33+00:00

I am configuring a pair of switches, one each for our two datacentres. We

  • 0

I am configuring a pair of switches, one each for our two datacentres. We have a pair of links between the sites, one a dedicated private fibre, the other a backup 100Mbps connection. For reasons not worth going into, I need to push a number of VLANs across the links, and need to use STP (or equivalent) to manage path redundancy and avoid a switching loop and the associated melt down.

Currently I have set a path cost of 4096 on the backup link on both the root primary and secondary, which works fine, the switches select the fibre and block the backup link until the fibre is down. I have also set a net-diameter of 2 for the VLANs concerned, which has reduced the convergence time to 14s (2x forward time).

I have read that using RSTP its possible to get convergence in around a second, if this is true, would be interested to know how.

Here’s what I have so far (this config is more or less mirrored on both switches):

spanning-tree mode rapid-pvst
spanning-tree extend system-id
spanning-tree vlan 102,104-109 priority 24576
spanning-tree vlan 102,104-109 forward-time 7
spanning-tree vlan 102,104-109 max-age 10
!
<snip>
!
interface GigabitEthernet4/0/47
 description Pseduo wire to DC2
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 102-108
 switchport mode trunk
 speed 1000
 duplex full
 spanning-tree vlan 102-108 cost 4096
!         
<snip>
!
interface GigabitEthernet4/0/49
 description 1Gbps to DC2
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 102-107,109
 switchport mode trunk
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T09:43:36+00:00Added an answer on June 2, 2026 at 9:43 am

    Even a well tuned RSTP topology still may need a couple of seconds, but a good place to start is by adjusting the 3 timers for RSTP:

    Hello - which defaults to 2 seconds
    Forward Delay - which defaults to 15
    Max Age - which defaults to 20 (Less important here)
    

    Uplinkfast doesn’t need to be configured as it’s ‘kind-of’ built into RSTP, just check that your backup link is listed as an ‘Alternate’ port and is ready to fail over fast.

    For general RSTP housekeeping consider setting all your edge ports to Portfast and considering the impact of any half duplex links on the topology- if possible change all half duplex ports to full duplex, this will make them candidates for using 802.1w (RSTP will fall back to STP on half duplex…)
    Half duplex is just very bad in RSTP, but there are workarounds.

    Also consider what kind of failure occurs when a link goes down:

    Direct Failure – Switch is aware link is down immediately (port goes down).
    This is very fast to fail over to an alternate port as switch is immediately aware of the problem- here you could possibly achieve <1 second depending on how long switch takes to detect the port is down.

    Indirect Failure – Traffic is being blackholed, but the switch thinks the link is up.
    Much longer to detect as 3xHello Packets must be discarded.
    If this is what’s happening, consider setting your hello packet timer to 1 second.

    (Missing 3 hellos will tell the switch the link is down… 6 seconds vs. 3 seconds)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am configuring mysql for my server, but I have one question: Is it
I'm working on configuring a RollingFileAppender in log4net programmatically. I have something like this
I am configuring the env on Vista. I have jdk-6u30 and eclipse-jee-indigo-SR1-win32 installed on
Configuring IIS 6.0 to run an MVC3 application I think I have a configuration
I am configuring a new environment to run several intranet web applications. I have
I'm configuring the logging for a Java application. What I'm aiming for is two
I'm configuring an installer for our product which, up until now, was distributed as
I am configuring Spring integration setting. There are two TCP servers and it's outbound-channel
I'm configuring the admin site of my new project, and I have a little
When configuring my Facebook app I have enabled Native Android App and within that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.