cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
539
Views
10
Helpful
8
Replies

New Switch Added for Spanning-tree

jpl861
Level 4
Level 4

Hi,

I have one 4500 switch connected to the core with two fiber uplinks to two core switches (coreA and coreB). Both of them are in forwarding state because of the the per-vlan STP (depending on the VLAN). Recently, I cascaded one 3750 to the 4500 switch with just one straight-cable. Now, I need to connect the 3750 to both coreA and coreB. So at first, the root port of the 3750 is the FastE port. Since coreA and coreB are the root bridges, both of the fiber link will be the root port. Will it transition to root port and forwarding state immediately after I connect the fiber uplinks? I think I still have to wait for the forward delay timer for it to transition to forwarding state. Because I'm planning to disconnect the FastE trunk to the 4500. Will it cause downtime? Also, will it disrupt the 4500 STP state? By the way, I'm using rapid-pvst. Thanks.

-John

2 Accepted Solutions

Accepted Solutions

As soon as you connect the 3750 to one of the core port, your 3750 will change its root port for all the vlans (assuming that the port channel between the cores has a lowest cost than the uplink between the 4500 and the core, which is likely). Switching the root port on the 3750 does not depend on any timer. I expect the convergence to be sub-second, but it's always better to do this after hours anyway. (exact sequence: (1) after receiving better info from the core, the 3750 blocks current root port leading to 4500 (2) 3750 puts the new root port in forwarding (3) 3750 sends an agreement to the core along with a TC indication (4) designated port on the port goes forwarding (5) core bridge propagates the TC.)

Then removing the 3750 uplink from the 4500 and connecting it to the other core switch will have the same impact (on half of the vlans only this time).

Regards,

Francois

View solution in original post

The learning/listening stages are only used on ports that go forwarding using timers. With RSTP, things are different because of the proposal agreement mechanism. Basically, instead of waiting "some" time, the designated port on the core switch is proposing. As soon as it gets an agreement from the remote root port (confirming that everybody downstream is ok with the new root information), it can go forwarding, skipping the listening/learning stage. If for some reason the access switch was not answering the proposal (because it is running STP, or if the link was a shared segment for instance), then it would transition slowly to forwarding using timers.

HTH,

Francois

View solution in original post

8 Replies 8

royalblues
Level 10
Level 10

John,

I am a little confused here.. is there any connection between the core switches A & B.

A brief diagram will help

Narayan

Yes, there is a port channel between CoreA and Core B. So this is the design.

Currently:

CoreA and CoreB is connected by port channel.

4500 switch is connected to CoreA and CoreB with two fiber links.

3750 is connected to 4500 by a Cat6 cable.

Need to do:

Connect the 3750 to CoreA and CoreB with two fiber links then remove the Cat6 cable to 4500.

I got a littile confused when you said there are 2 root switches

You can connect a fibre cable from the 3750 to one of the core switches.

Then remove the connection to the 4500 and then connect the other fibre to the 2nd core switch.

There may be blips seen in the network when RSTP is converging. So it is best to take a downtime or schedule this during low peak hours.

HTH, rate if it does

Narayan

Yes that's what I'm thinking. A network flap while convergence time. But I'm thinking of this, if I connect the one fiber to CoreA. Then the fiber to CoreA will become the root port and that's going to be a flap. Right?

As soon as you connect the 3750 to one of the core port, your 3750 will change its root port for all the vlans (assuming that the port channel between the cores has a lowest cost than the uplink between the 4500 and the core, which is likely). Switching the root port on the 3750 does not depend on any timer. I expect the convergence to be sub-second, but it's always better to do this after hours anyway. (exact sequence: (1) after receiving better info from the core, the 3750 blocks current root port leading to 4500 (2) 3750 puts the new root port in forwarding (3) 3750 sends an agreement to the core along with a TC indication (4) designated port on the port goes forwarding (5) core bridge propagates the TC.)

Then removing the 3750 uplink from the 4500 and connecting it to the other core switch will have the same impact (on half of the vlans only this time).

Regards,

Francois

Doesn't it have to go to learning stage?

Thank you so much guys. :)

The learning/listening stages are only used on ports that go forwarding using timers. With RSTP, things are different because of the proposal agreement mechanism. Basically, instead of waiting "some" time, the designated port on the core switch is proposing. As soon as it gets an agreement from the remote root port (confirming that everybody downstream is ok with the new root information), it can go forwarding, skipping the listening/learning stage. If for some reason the access switch was not answering the proposal (because it is running STP, or if the link was a shared segment for instance), then it would transition slowly to forwarding using timers.

HTH,

Francois

Wow! That's great! Thanks for answering my questions Francois.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card