nsxcli, following commands may not show any information (empty output) related to segments and logical switches.
ESXi host# nsxcli
ESXi host> get segments
Segments Summary
------------------------------------------------------------
Overlay Kernel Entry
============================================================
VNI DVS name VIF num
Overlay LCP Entry
============================================================
VNI Segments UUID Name
VLAN Backed Entry
============================================================
Segments UUID VLAN ID
ESXi host> get logical-switches
Logical Switches Summary
------------------------------------------------------------
Overlay Kernel Entry
============================================================
VNI DVS name VIF num
Overlay LCP Entry
============================================================
VNI Logical Switch UUID Name
VLAN Backed Entry
============================================================
Logical Switch UUID VLAN ID
/var/log/cloudnet/nsx-ccp-events.log states that ESXi Host transport node completing the handshake with CCP but not finishing full sync.
cat /var/log/cloudnet/nsx-ccp-events.log | grep -i "accepts incoming"
2025-07-20T00:11:13.552Z EVENT nsx-rpc:CCP-<CCP UUID>:user-executor-2 VersionMastershipServiceImpl 73820 - [nsx@6876 comp="nsx-controller" level="EVENT" subcomp="handshake"] Accepts incoming connection from TN <TN UUID>
VMware NSX 4.x
The issue is caused by an incomplete or unsuccessful realization between the control plane and the data plane causing segments and logical switches to not show up on the host correctly.
Perform a Rolling Reboot of the NSX Managers to trigger a re-realization of the control plane and the management plane :