In a previous lesson I explained about campus network design and how we use different layers and “switch blocks” to create a hierarchical design that has redundant links.
You also learned in the spanning tree lesson how spanning tree creates a loop-free topology by blocking some of the redundant links. The “thing” with spanning tree is that we have a loop-free topology, we have redundancy but we can’t use all the redundant links for forwarding. Here’s an illustration to visualize this:
The dashed lines are layer 2 links. Spanning tree will block two of these links to create a loop-free topology. Another issue with this topology is that we do have redundancy in the distribution (and core) layer but we don’t have redundancy in the access layer.
When one of the distribution layer switches fails, the other one can take over. We don’t have this luxury in the access layer…when either of the switches fails then the other one can’t take over.
One way of solving this problem is to create a logical switch. Cisco switches offer some technologies to convert two or more physical switches into a single logical switch, it will look like this:
A1 and A2 are two physical switches but they are combined into a single logical switch. The distribution layer switches think that they are connected to one access layer switch. The uplink pairs to each distribution layer switch can be combined into an Etherchannel.
When the link between D1 and D2 is a layer 2 link, spanning tree will still have to block one of the etherchannels.
We can improve this topology by doing the same thing in the distribution layer, combining the two physical distribution layer switches into a single logical switch:
The two distribution layer switches are now combined into a single logical switch. The four links between the switch pairs can be combined into a single etherchannel. Since we now have a single link between the two logical switches, spanning tree doesn’t have to block anything. Normally we can’t create an etherchannel that spans multiple physical switches. By creating logical switches, this is no problem. An etherchannel like this between multiple physical switches is also called Multi-Chassis Etherchannel.
Combining multiple physical switches into logical switches makes our network topology a LOT simpler, here’s a “before and after” example:
awesome lesson! is there a disadvantage on making them 1 logical switch then bundling the links using etherchannel?
Hi John,
There are a couple of things to consider that come to mind:
Really nice lesson, Thanks Rene!
Hi Rene,
awesome:)
What will be the client conectivity at access layer.There should be multiple physical connectivity to every SW in stack for a user , right ?
Switch Virtualization is all about redundancy also make the switchng path more simpler , right ??
br/zaman
Hi Zaman,
Switch virtualization is great for redundancy but it also simplifies your switching a bit. You’ll have less spanning-tree to deal with since all switches in the stack are one “logical” switch.
What you use on the access layer really depends on your design and your budget. Normally we do have redundant connections from the access layer to the distribution layer.
Rene