Network Bytes · Episode 63 · CCNA 6.2
"Control plane vs data plane"
Every router and switch does two jobs. The control plane thinks, learning routes and building the tables; the data plane lifts, using those tables to forward every packet out the right port, fast.
Two jobs in every box
A router or switch has to do two very different kinds of work. One is slow, careful thinking: figuring out where networks are and how to reach them. The other is fast, repetitive lifting: taking each packet that arrives and sending it on its way. Networking texts call these two jobs planes, and keeping them straight is the first step toward understanding controller-based networking.
The control plane: the brain
The control plane is everything a device does to build its forwarding information. Routing protocols such as OSPF exchange messages with neighbor routers, learn routes and fill in the routing table. Other control plane processes include STP, which decides which switch links stay open, and ARP, which learns which MAC address belongs to which IP address. This work happens in software on the device's CPU, and it does not have to be lightning fast; it has to be right.
The data plane: the muscle
The data plane (also called the forwarding plane) handles the traffic itself. For every packet that arrives, it looks up the destination in the table the control plane built, then pushes the packet out the right port. Because this happens for every single packet, it has to be extremely fast: on switches and many routers it runs in special hardware chips called ASICs, and can reach millions of packets a second. That number is typical of hardware forwarding, not a fixed rule.
Brain decides, muscle follows
The control plane decides the rules; the data plane follows them. In a traditional network, each device has its own brain and its own muscle in the same box. Once you see them as separate jobs, a new idea appears: pull the brain out into one central controller, and let it steer the muscles of many devices at once. That is the heart of controller-based networking and SDN, the topic of the next episode.
Try it yourself
Look at your own computer's routing table. On Windows, open Command Prompt and type route print; on macOS or Linux, open a terminal and type netstat -rn. Each line is a route your computer learned or was given, such as the default route (0.0.0.0) that points to your home router. A router's routing table looks much the same, just with many more networks.
Good to know
- Control plane: routing protocols (OSPF and others), STP, ARP and similar processes that build the tables.
- Data plane (forwarding plane): per-packet or per-frame forwarding using those tables (the routing/CEF table, the MAC table), usually in hardware (ASICs) on switches and many routers.
- There is also a management plane (SSH, SNMP, the CLI), left out of the video to keep one idea per short; some texts fold it into the control plane.
- "Millions of times a second" is typical of hardware forwarding, not a fixed number.
- CCNA 6.2 compares traditional and controller-based networking, and 6.3 covers separating the control and data planes, which the next episode picks up.
For CCNA learners
This lines up with CCNA 200-301 exam topic 6.2, describe characteristics of controller-based, software-defined architecture, and sets up 6.3, separation of control plane and data plane: know which tasks build the tables (control plane) and which tasks use them to move traffic (data plane).
Answer to the comment question
The data plane. Looking up a MAC address in the MAC table and forwarding a frame out a port is per-frame forwarding work, so it is the data plane (the muscle), usually done in the switch's hardware chips. The control plane's part is the deciding, for example STP choosing which ports may forward; the data plane then uses the MAC table for every frame.
Test your knowledge
Quick quiz: "Control plane vs data plane"
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- Cisco Press, "Introduction to Controller-Based Networking": data, control and management planes (CCNA 200-301 Official Cert Guide, Vol. 2 sample chapter)
- Cisco, "Cisco Guide to Harden Cisco IOS Devices": management, control and data planes defined; the data plane forwards transit traffic
- IETF, "RFC 7426, Software-Defined Networking (SDN): Layers and Architecture Terminology": forwarding plane vs control plane
- Cisco, CCNA 200-301 v1.1 exam topics: 6.2 traditional vs controller-based networking; 6.3 separation of control plane and data plane
Video transcript
What's the difference between a router's brain and its muscle?
Every router and switch does two jobs. One job thinks. The other job lifts.
The brain is the control plane. It talks to other routers, learns routes, and builds the routing table. It's careful work.
The muscle is the data plane. For every packet that arrives, it checks the table and pushes the packet out the right port, millions of times a second, often in special chips.
The brain decides the rules. The muscle follows them, fast. Keep them apart, and one central brain could steer the muscles of many devices at once.
A switch looks up a MAC address and forwards a frame out a port. Which plane is doing that? Comment your answer below!
That's your byte.
More from Network Bytes
- EP61"AAA: authentication, authorization and accounting"
- EP62"MFA and password policy"
- EP64"What is SDN?"
- EP65"REST APIs for network engineers"