Management Planes, Data & Control planes of Network Devices

--

While reviewing or troubleshooting network devices, engineers sometime have understanding gaps.

In this post, we will investigate the concepts of the management ,data and control plane and explore the differences between them through practical examples

The architecture of most network devices has three “planes”:

  1. Data plane
  2. Control plane
  3. Management plane
https://www.baeldung.com/cs/networking-planes

Topology

We have two hosts in different subnets that connect to a Cisco Nexus 9000. One host connects via Ethernet1/1, and the other connects via Ethernet1/2. Ethernet1/1 has an IP of 192.168.10.1, while Ethernet1/2 owns 192.168.20.1.

If we expand our view on the internal mechanisms of the Nexus 9000 switch, we can illustrate these three planes as shown here.

https://chrisjhart.com/Understanding-Data-Control-Management-Planes/

In this image, notice three things:

  1. The control plane connects to the data plane through an inband interface.
  2. The control plane hosts various software processes, such as ICMP, BGP, and STP.
  3. The management plane also hosts various software processes used to manage or monitor the switch (such as SSH and SNMP), and the management plane is contained within the control plane.

Data Plane

The data plane handles traffic going through the network device. This means one of two things:

  1. Traffic entering the device is not set to an IPv4 or IPv6 address assigned to the network device.
  2. Traffic entering the device is not set to an IPv4 or IPv6 address that the network device is listening for.

A practical example of data plane traffic in our topology is ICMP traffic between the two hosts. Traffic between the two hosts will go through the switch — it is not destined to the switch.

Control Plane

The control plane handles traffic going to the network device. This means one of two things:

  1. Traffic entering to the device is set to an IPv4 or IPv6 address assigned to the network device.
  2. Traffic entering the device is set to an IPv4 or IPv6 address that the network device is listening for.

A practical example of control plane traffic in our topology is ICMP traffic destined to the network device itself. If the network device receives an ICMP Echo Request packet destined to an IP address of 192.168.10.1 (which the network device is assigned), the data plane will recognize that the network device itself owns this IP address and forward the packet to the control plane’s inband interface. This action is called a “punt”.

When the control plane receives this ICMP Echo Request packet through the inband interface, it will inspect it and “route” it to the ICMP software process so that the ICMP process can handle it accordingly.

The ICMP software process should generate an ICMP Echo Reply packet, which will be sent to the control plane’s inband interface, which is dequeued by the data plane and forwarded back out of Ethernet1/1 towards the host.

Other common examples of control plane traffic includes routing protocol traffic (such as OSPF, EIGRP, BGP, or PIM packets) and Layer 2 protocols (such as Spanning Tree Protocol, LACP, CDP, or LLDP frames).

Management Plane

The management plane handles traffic going to the network device that is designed to configure, manage, or monitor the network device.

Another way, management plane traffic can be qualified the same way as control plane traffic, but the purpose of the traffic is to configure, manage, or monitor the network device.

A practical example of management plane traffic in our topology is SSH traffic destined to the network device itself. If the network device receives SSH Request packet destined to an IP address of device (which the network device is assigned), the data plane will recognize that the network device itself owns this IP address and forward the packet to the control plane’s inband interface. This action is called a “punt”.

When the control plane receives this SSH packet through the inband interface, it will inspect it and “route” it to the SSH software process so that the SSH process can handle it accordingly.

The SSH software process should generate some SSH traffic in reply, which will be sent to the control plane’s inband interface, which is dequeued by the data plane and forwarded back out of Ethernet1/1 towards the host.

Other common examples of management plane traffic includes SNMP traffic (which can be used to monitor the network device as well as configure the device), NETCONF traffic, and gRPC traffic (which can be used to monitor the network device through model-driven telemetry).

Some network devices have a dedicated out-of-band management port that is primarily capable of sending and receiving management plane traffic.

Sometimes, this management port can send or receive LLDP or CDP, but rarely do they support other types of control plane protocols (such as Spanning Tree Protocol, routing protocols like OSPF/EIGRP/BGP, etc.)

Relativity in Data and Control Planes

An important concept to keep in mind is that “control plane traffic” is a relative term. A packet can be control plane traffic from the perspective of one device, but data plane traffic from the perspective of another device.

Let’s demonstrate this concept with a practical example. Consider the below topology.

Let’s say an ICMP Echo Request packet is generated by the left-hand host that owns IP address 192.168.10.10. This packet is destined to IP address 100.2.2.2 assigned to R2.

When this packet enters R1, R1 will recognize (based on the destination IP address) that the packet need to go through R1, so this ICMP packet will be data plane traffic from R1’s perspective.

However, when this ICMP packet enters R2, R2 will recognize that the destination IP address of the ICMP packet is assigned to R2, which indicates that the packet is for R2.

R2 will punt this packet from the data plane to the control plane. Thus, this ICMP packet will be control plane traffic from R2’s perspective.

To summarize — one device’s control plane traffic is another device’s data plane traffic.

Conclusion

The control plane is responsible for managing and controlling the network, while the data plane is responsible for transmitting and receiving data packets. On the other hand, the management plane is responsible for configuring and monitoring network devices.

Sources:

https://www.baeldung.com/cs/networking-planes

--

--

Raj (CISSP | CCSP | CISA | CRISC | ISO| PMP|AWS)

Raj is cybersecurity enthusiastic , offensive security practitioner, a red team member having over 10 years experience in Cyber Security.