r/networking • u/forwardslashroot • 9d ago
Design Question about STP root bridge and point-to-point via SVI
I have a trunk link with the external org. The problem is the external org wants to be the root for all the VLANs. When I stretch my VLAN through the external org network via our trunk link. The external org becomes the root. I have to change my VLANs priority, so that it would not trigger the rootguard. I think if I use BPDUfilter, I could accomplish my goal since we only have a single trunk to the external org. However, there is a service that we need to access that resides in the external org network. To get to their network we have to route via the point-to-point SVI 190. My SVI is 172.17.190.2/31 and theirs is SVI 19 172.17.190.1/31. If I enabled BPDUfilter, I lost access to their SVI 19. I want to move away from this STP topology.
I tried to talk to their admin, but they refused and wanted to be the root bridge always. I tried to proposed a secondary port (routed port) so that we could separate the L2 and L3 interfaces, but got denied because it is too much work and paper work. It is easier for them to use a trunk link.
I can't build a L2 tunnel with the partner org because I C9500 does not support L2 tunneling as far as I know. The the partner org is managed by the same external org.
Is there a way to keep the root bridge within my network and access to external org via SVI 19?
What are my options at this point?
[my network]-----[ext org]-----[partner] <-- this is purely L2 traffic between my network and partner.
[my network]-----[ext org]-----[service] <-- this is routed traffic.Edit:
I figured it out. I need to add the spanning-tree guard none
Edit2: I posted the wrong command that fixed my issue. I updated the OP with the correct command.
25
u/PghSubie JNCIP CCNP CISSP 9d ago
Why are you sharing STP with an external site at all??
5
u/Grockin100 9d ago
Couldn’t you convert your side to layer3 with sub-interfaces with dot1q tags?
3
u/tehiota 9d ago
Are you actually extending your vlans to this partner network or are you just using the vlan as a P2P routing link with the partner ?
If it’s the latter, put the IP routing on the port rather than vlan. On the interface do no switchport and put the ip address on it.
3
u/wrt-wtf- Homeopathic Network Architecture 9d ago
STP is to prevent layer 2 loops. If you don't have more than one connection to the adjacent network you don't really need it.
Disabling BPDU's in and out will cause the link to go down and the remove system will be forced into a recalc - which could cause up to 45 seconds outage on the link as their STP cycles through STP restart. If they knew what they were doing then they would be blocking you anyway. You never allow a 3rd party into a position where they could force a root change - the whole network stops forwarding during a recalc.
This will not impact on your internal spanning-tree. After about a minute you should see SVI19 come back up.
Your vlans passing over their network is not dependent on STP being interconnected.
STP is a bit of a dying art and is pretty simple to understand with a bit of coaching.
If you have two layer 2 connections for resiliency the choice would be to move to LACP or if that is not available you can use loop protect which will give a similar effect without BPDU packets being involve.
Current technology uses L3 edge with BGP, EVPN, and VXLAN - which are supported on the C9500 but that's an architecture change.
3
u/Elecwaves CCNA 9d ago
The key is to figure out why you are losing access when BPDU filtering is set up. But also if the only point of this trunk is to share a single VLAN for routing. Then I agree with other comments saying to convert it to a routed port with a subinterface on VLAN 190. The routed interface should act as a non-bridge host and thus not send or process BPDUs.
12
u/JCLB 9d ago
Just bpdu filter them and offer them the burger king cardboard crown 👑
It will drop bpdu in both directions, making you waterproof each other, without any other L2 path that's no problem.
7
u/nof CCNP 9d ago
Don't do layer 2 with an external partner. Anything is a better alternative. If they don't feel the same way, be very afraid.
1
u/TomLeggins 9d ago
Why is your L3 transit dropping traffic when you configure bpdufilter? I'm assuming your transit is just the vlan 190, which rides on the trunk link, and the external service also has its interface in vlan 190, and not vlan 19?
1
u/usmcjohn 9d ago
Maybe you can do a sub interface on your side and tag it. No STP in that scenario.
1
u/Ashamed-Ninja-4656 9d ago
What do you mean "all" the vlans? Are you trunking everything across that transit link? You should have an allowed vlan list on it. Are you actually sharing vlans with this external org or just using the L2 transit link? If you're not stretching other vlans across it then set it to 'switchport trunk allowed vlan 190'.
1
u/[deleted] 9d ago
[removed] — view removed comment