Why automate, and the two planes

The problem with the CLI

Everything so far was typed into one device at a time. That's fine for a lab, but a real network has hundreds of devices. Configuring each by hand is slow, and above all inconsistent: a typo on one switch, a forgotten line on another, and you have an outage that's hard to find. Automation makes change fast, consistent and repeatable, and it records exactly what was done.

The control plane and the data plane

Every network device does two jobs:

PlaneJobExamples
Control planeDecides where traffic should go (builds the tables)OSPF, STP, ARP, building the routing and MAC tables
Data planeForwards the actual packets, as fast as possible, using those tablesSwitching a frame out a port, routing a packet to a next hop

On a traditional router or switch, both planes live in the same box. Software-defined networking (SDN) pulls the control plane out into a central controller: the controller decides, and the devices just forward. One place to see and change the whole network.

TraditionalController-based (SDN)
Control planeIn each deviceCentralised in a controller
ConfigurationBox by box, CLIOnce, on the controller, pushed everywhere
View of the networkPer deviceWhole network at once
ChangeManual, error-proneProgrammatic, consistent

Remember: Control plane = decides (routing/STP/ARP). Data plane = forwards packets. SDN centralises the control plane in a controller.

HOME LABS COMMUNITY DASHBOARD