Spine and Leaf Architecture is a two-layer, full-mesh topology composed of a leaf layer and a spine layer, with the leaf and spine switches. It was originally implemented in data centers to overcome the limitations of the three-tier architecture, where we have more east-west traffic than north-south traffic flow. East-west traffic flows are server-to-server communication within the same data center, like in our leaf-spine network topology example below.
Spine Layer – serves as the backbone of the network similar to the core layer in our three-tier design. It is where we can find the spine switches which can be a Layer 3 switch. Each Layer 3 port is connected to the underlying Layer 2 leaf switch.
Leaf Layer – connects to end devices similar to the access layer in our three-tier design. It is where the leaf switches which connect to all spine switches reside. In our example above, we have servers that connect to leaf switches. In a data center environment, it can be any kind of server, like web server, application server, database server, or storage server.
Benefits of Spine and Leaf Architecture
Below are the advantages and benefits of implementing spine-leaf architecture in the network:
Improved Redundancy – As opposed to our traditional three-tier architecture where access layer switches connect to only two uplink distribution switches, every leaf switch connects to every spine switch. And instead of Spanning Tree Protocol (STP), we implement Transparent Interconnection of Lots of Links (TRILL) and Shortest Path Bridging (SPB), which allows traffic flows across all available links, offering improved redundancy, but like STP, still prevent loops.
Increased Bandwidth – By implementing TRILL and SPB, we have the ability to use multiple active links instead of one and it increases bandwidth. With STP, only one link is active and the other links are blocked.
Improved Scalability – In the event of oversubscription, we can add a spine switch and connect it to every leaf switch. If the port density is a concern, we can add a leaf switch and connect it to every spine switch.
Lower Costs – Fixed-configuration switches unlike modular switches, have a fixed number of ports and are usually not expandable. Many spine-leaf networks use fixed-configuration switches.
Low Latency and Congestion Avoidance – With having only a maximum of two hops between any source and destination nodes, we make a more direct traffic path, which improves performance and reduces bottleneck. The only exception is when the destination is on the same leaf switch.
Energy Efficient – Fixed-configuration switches require slightly lower power consumption.
Limitations of Spine and Leaf Architecture
As we have advantages and benefits, we also have limitations in implementing spine-leaf architecture in our network:
Amount of Cables – We need to run more copper or fiber cables since each leaf must be connected to every spine device.
Limited Hosts – The number of hosts that we can support can be limited. Spine port counts can restrict the number of leaf switch connections.
As technology advances, more data center traffic is moving from server to server instead of moving in and out of the data center. As network engineers or future network engineers, we should learn to plan, build and manage spine-leaf architecture.
Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book.
We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: