• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 109
  • Last Modified:

STP Question

Hi
Spanning tree Root Bridge for a vlan can never be behind a routed device (Layer 3)
Is this correct
0
ciscosupp
Asked:
ciscosupp
3 Solutions
 
Don JohnstonInstructorCommented:
Not sure I understand what you're asking.

Spanning Tree BPDU's cannot pass through a router. So if you had two switches separated by a router, both switches would be a root bridge.
0
 
ciscosuppAuthor Commented:
That’s what I was looking for thanks.

But you can configure a router to be spanning tree Root Bridge for a vlan.
Is this correct
0
 
Don JohnstonInstructorCommented:
That's a tough one...  A "router" is a layer-3 device that doesn't run STP.  

However, some routers have switch modules that you can install. Those switch modules are able to run STP.  

Also, on some routers you can disable layer-3 on a per interface basis at which point the interface is now a layer-2 interface and does participate in STP.  

But then you're not really talking about a router at that point because it's basically a switch (at least the interfaces in question are).
0
 
Natty GregIn Theory (IT)Commented:
What you want is a switch 3550 is a good choice for that. No spanning tree behind a routed device.
0
 
mikebernhardtCommented:
You can take a router and make it bridge between 2 (or more) layer 3 interfaces, which means it isn't routing between those 2 interfaces. In that case it passes BPDUs and can participate in STP, or even be the root bridge.

If you use Integrated Routing and Bridging (IRB) You can even assign an IP address to a bridge interface so that it can route IP over those bridged physical interfaces. Strange, but true. We used to do this in order to let a router route from a T1 to a LAN through 2 different Layer 2 switches on the same VLAN.

I'm not saying this is the best design, just that in answer to your question it can definitely be done.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now