Spanning tree configuration

I'm setting up some new equipment and I'm wondering about a couple details related to spanning tree. This is the first time I'm doing anything but the simplest setup with a switch.

This is for a Vmware cluster and right now we have:

2x Fortigate firewalls
2x SD-WAN devices
2x Cisco C2960-L 1G switches
2x Dell S4128T-ON 10G switches
2x Dell servers running vSphere (will be adding more)
1x Dell iSCSI storage array.

I'm using the Dell 10G switches for iSCSI, Vmotion, and VM networking. They are connected with a LAG, which shares all vlans except for the iSCSI fault domains. Each server has 2x 10G ports for iSCSI and 2x 10G ports for Vmotion and VM networking. The switches are also cross connected to the Fortigate firewalls and the storage array.

For the servers and the storage array, I've setup the switch ports like I normally do with spanning tree port fast (the Dell equivalent) and bpdu guard enabled. First question: Should I be using those same settings for the firewall cross connections? I'm thinking yes, though at the moment I'm just using the defaults. Of course it works, though I think it takes a while for those ports to go active if I test reconnecting any of the wiring.

Second part..

I'm using the Cisco switches mainly for the external side of the network, though I am also using it for management ports that don't need to be on 10G. Again, they are connected together with a LAG. Similar setup as above.

The part that I am completely clueless about is the uplink connections to the colo. We have a 1G ethernet connection going to each of their network rooms. Since I need to connect multiple devices to these (for now just the firewalls and the sd-wan appliances) I have one drop connected to each of the Cisco switches. These are untagged access ports on the external vlan.

So this works with all the default switch settings, but I'm assuming it is sub-optimal.

I did notice that the external vlan on the LAG ports is getting shutdown by spanning tree. I was expecting something like this to happen, though I actually thought it would be one of the uplink switch ports. But I guess this is better.

Our colo network people had this to say about our setup: "We are running 802.1w compatible STP, so a Layer 2 topology connected to us would be acceptable. The only restriction that we impose is that our end must be the root of STP, and therefore our devices are configured to block any attempt from a bridge device connected to them to claim the root of the STP."

Not really sure what to do with that.

Our firewall vendor suggested that we might want to double up (cross connect) the connections with the colo network rooms. Though this was in the context of having those connections go straight into the firewalls. I do see their point, and I'm sure this would be doable. Uh, one thing at a time.

Anyway, I guess the question is what should I be doing here?


TLDR: Trying to do full mesh network setup. Want stuff to work good. Not sure how to setup spanning tree for colo network uplinks.


Thanks!
 

Paladin

Ars Legatus Legionis
33,855
Subscriptor
There is both too much information here and not enough.

For the main question of how to setup spanning tree with your connections to the ISP, I wouldn't. Generally I would treat those as a point to point link to the internet, I would not worry about STP with an internet link but it sounds like maybe they are doing something on their network that means those 2 links they give you are not really independent layer 3 connections.

I'm going to assume that is the case and guess that they give you a single gateway IP address and a single block of IP addresses, not a separate gateway address and block of IPs on each connection?

If that is the case, then they are essentially just giving you 2 drops from the same switch, or the same layer 2 network anyway even though it might be one switch on one side of the room and another switch on the other side of the room, they probably link back to each other or to a single router or something at some point in the middle.

If that is the case, you might have to do spanning tree with them unless they can get really fancy and do LACP with you so both links are up at the same time. That would require your switches to be stacked together (or support a Multi-Chassis Link Aggregation feature like VPC). Your switches do not support those things. The Dell switches support some kind of fabric design so there might be something there but...?

So you might have to do spanning tree with them. In most cases I would just make sure your switch is set to RSTP or MSTP mode (R is preferred in my book) and their note about their switches being root probably means they have lowered their priority. Your's should default to 32000 something I think so you should be fine as long as you don't turn on some kind of 'preserve root' feature that will make things unhappy or make your priority lower than needed. Once you connect to them you can look at the STP session with them and see their numbers and set yours as needed. You may want to have a spanning tree instance just for the connection/VLAN to them and that means I highly recommend creating a VLAN just for the 'outside' or WAN network links. You need to have a VLAN for that so you can easily identify which ports are exposed to the raw internet link and will need to participate in the spanning tree instance with them. The Cisco switches technically run RSTP+ which is Rapid Spanning Tree Plus, Cisco's name for running a separate STP instance per VLAN, which is a very nice thing to have. The Dell ones might do that too if you're lucky.

The Dell ones, I would read all you can about them, make sure they are updated to the latest firmware and then read more. Dell switches are buggy and have a lot of things they can do that are not on by default in my experience. Look into their features and find real world advice from people who use them with the features you want before you rely on them.

Basic advice for STP:

Set priority config so you know which of your switches will be root and which will be backup for it (lowest priority number wins).
Set VLANs and only put needed ports in them so you know which ports pass which VLANs and which STP instances are on which VLANs and ports.
Watch the STP environment now and then, it can change on you when you connect new things.
Turn on logs and make sure they go to a log server so you can keep track of when things happened.
Back up your configs!
 
Thanks for the input.

The colo has two separate, independent network rooms and we have one connection from each. They provide us with a redundant connection through multiple ISP's. I believe both uplinks are active and usable at the same time. In our external IP block we have three addresses reserved for them: the primary gateway and I'm guessing one for each network room. I assume they are running VRRP or something like that.

This external network is on its own VLAN and I only connect devices/ports that need access to it. Actually, the only trunk connections on those switches at the moment is the LAG that connects them together.

My initial thought on this was to use a different VLAN for each uplink. The SD-WAN network guy suggested that we do it with a single VLAN, I assume this is because their devices are not cross connected like everything else. But I don't need to follow this advice.

All of the switches have the latest firmware updates and I do have backups of the configs. We are still pre-production so I'm not too worried about fucking things up. I don't have a local syslog server yet, but it is on the list.


The Dell switches... I read most of the documentation. Kind of needed to, since their OS10 isn't quite a straight up IOS clone. They are pretty similar, though. So far they seem to work fine and I have not seem them do anything flakey. The default spanning tree mode seems to be RPVST+, though RSTP and MST are supported too. I'm wondering if this really matters, though. All the ports are edge ports, except for the LAG connecting the two switches together. The only ones I'm not really sure about are the firewall cross connections, but it seems like they should be edge ports?