NSX-T Logical Switching Services: How Segments Work

Introduction to NSX-T Logical Switching Services

In Part 9 of our VMware NSX-T Series, we will explore how NSX-T Logical Switching Services work behind the scenes. We will also explain how different components communicate to create and configure logical network segments.

In a traditional network, administrators configure physical switches to connect devices and manage traffic.However, VMware NSX-T uses software-defined networking (SDN) to create and manage virtual network segments more efficiently. As a result, administrators can configure these segments without making separate changes to physical switches for every network. Furthermore, this approach simplifies network management and provides greater flexibility.

Although creating a segment through NSX Manager may seem straightforward, several internal services work together behind the scenes. First, NSX Manager processes the configuration request. Next, the management and control planes exchange the required information. Finally, the ESXi host receives and applies the configuration to create the logical network segment. Therefore, understanding this process helps administrators manage and troubleshoot NSX-T environments more effectively.

First, NSX Manager receives the configuration request. Next, the management and control plane components process the information. Finally, the required configuration reaches the ESXi host, where local services help realize the logical switch.

Understanding this process is important because it helps network engineers identify configuration issues, troubleshoot communication failures, and understand how NSX-T manages virtual networking.

In this article, we will cover:

  • The role of NSX Manager in logical switch creation.
  • How the management plane communicates with the Central Control Plane (CCP).
  • How the APH and nsx-proxy services exchange configuration information.
  • The role of NestDB and nsx-cfgAgent on ESXi hosts.
  • How logical switching services work together to configure network segments.

By the end of this guide, you will have a clearer understanding of the internal NSX-T logical switching architecture and how its components support network segment creation.

How NSX-T Logical Switching Services Work

VMware NSX-T uses several internal services to create and manage logical network segments. These services operate across the management plane, central control plane, and ESXi hosts.

Therefore, understanding how they communicate is important for network administrators who manage software-defined networking environments.

When an administrator creates a new segment, NSX-T processes the configuration through multiple components before realizing it on the ESXi host.

Let’s explore this process step by step.

NSX Logical Switch Services

Step 1: Create a Network Segment First, an administrator creates a new network segment through the NSX Manager user interface (UI) or API. The administrator defines the required settings, such as the segment name, transport zone, and connectivity options. Once the request is submitted, NSX Manager begins processing the configuration.

Logical-Switch Created

2. Step 2: Process the Configuration Through the Policy Service Next, the NSX Policy service processes the requested configuration. It then passes the required information to the management-plane components responsible for realizing the network configuration. As a result, the system can translate the administrator’s intended configuration into the objects needed by NSX-T.
3. Step 3: Store the Logical Switch Information

After processing the request, the NSX Manager components create the necessary logical switch information.

In the architecture discussed in this article, NSX-T stores the relevant configuration data in the Corfu database.

This database supports the management-plane services by maintaining configuration information.

Consequently, the system can track the logical objects required for segment creation.
4. Step 4: Forward the Configuration to the Central Control Plane

Once the management plane processes the segment information, it forwards the relevant configuration to the Central Control Plane (CCP).

The CCP plays an important role in distributing logical network information to the appropriate transport nodes.

Therefore, it acts as a key connection between the management plane and the host-level networking components.
5. Step 5: Send the Configuration to the APH Service

Next, the CCP communicates with the APH (Advanced Message Queuing Protocol Proxy Host) service, as described in the original workflow.

This service helps deliver control-plane information to the appropriate transport nodes.

As a result, the required segment configuration can move closer to the ESXi host.

6. Step 6: Communicate with the ESXi Local Control Plane

The APH service then communicates with the ESXi host’s local control-plane component, nsx-proxy.

In the environment described in this article, this communication uses NSX-RPC messages over port 1235.

The nsx-proxy service receives the configuration information and helps coordinate the host-side realization process.

However, communication details can vary between NSX releases. Therefore, administrators should verify the relevant services and ports for their deployed version.

NSX-RPC Channel

Step 7: Update the Local Configuration Database

After receiving the configuration, nsx-proxy updates the relevant information in NestDB, according to the architecture covered in this guide.

NestDB maintains local configuration information used by NSX components on the ESXi host.

This allows the host services to access the data required to configure logical networking.

Step 8: Pass the Configuration to nsx-cfgAgent

Next, the local configuration information becomes available to nsx-cfgAgent.

This agent helps apply NSX networking configuration on the ESXi host.

Therefore, it plays an important role in translating the received control-plane information into host-level configuration changes.

Step 9: Configure the Logical Switch on ESXi

Finally, nsx-cfgAgent works with the relevant ESXi networking components to realize the logical switch.

In the NSX-T architecture discussed here, the nsxt-vdl2 kernel module participates in logical switching operations.

Once the required configuration is applied, the segment becomes available for eligible workloads on the host.

As a result, virtual machines can connect to the logical network according to the configured transport zone and connectivity settings.

Why Understanding NSX-T Internal Services Matters

Understanding the logical switching workflow helps administrators troubleshoot networking problems more effectively.

For example, a segment may appear in NSX Manager but fail to become available on an ESXi host.

In such cases, administrators need to identify where the configuration process stopped.

They can investigate the management plane, control-plane communication, host services, and local configuration state.

In addition, understanding the relationships between these components helps engineers:

  • Identify segment realization failures.
  • Troubleshoot communication between NSX Manager and ESXi hosts.
  • Understand how logical network configurations reach transport nodes.
  • Investigate host-level configuration problems.
  • Improve operational visibility across the NSX-T environment.

Ultimately, knowledge of these internal services makes it easier to understand how NSX-T implements logical networking and where to begin troubleshooting when problems occur.

Conclusion: Understanding NSX-T Logical Switching Services

NSX-T Logical Switching Services play an important role in creating and managing virtual network segments. Although administrators can create a segment through a few simple steps in NSX Manager, several internal services work together to complete the configuration.

In this article, we explored how the management plane, Central Control Plane (CCP), and ESXi host services communicate during logical switch creation.

First, NSX Manager processes the segment configuration. Next, the control-plane components distribute the required information. Finally, local ESXi services apply the configuration and help realize the logical switch.

Understanding this workflow is especially useful when troubleshooting NSX-T networking issues. For example, if a segment fails to appear on an ESXi host, administrators can investigate the relevant services and identify where the configuration process may have failed.

Furthermore, learning how these components interact provides a stronger foundation for understanding more advanced NSX-T networking features.

In the next part of our VMware NSX-T Series, we will explore NSX-T routing architecture and how logical networks communicate across different segments.

Have you encountered any logical switch configuration or segment realization issues in NSX-T? Share your experience in the comments.

Happy Learning!

Want to Understand VMware NSX-T Beyond the Basics?

Creating a logical switch is easy. Understanding what happens behind the scenes is what helps you troubleshoot with confidence.

Explore our practical VMware NSX-T tutorials to learn more about logical switching, transport nodes, routing, and network virtualization.

Explore the Complete VMware NSX-T Tutorial Series

Or continue with the next topic:

Read Part 10 – NSX-T Routing

Follow Network Bachelor for more practical networking tutorials, technical guides, and data center architecture insights.


8 Comments

Add a Comment

Your email address will not be published. Required fields are marked *