VMware Networking Community
amitbharti
Contributor
Contributor

logical switches not seen on ESXi hosts but seen on controllers - NSX-T2.3

Hello,

I have NSX-T 2.3 env managing a vSphere env of ESXi 6.5. All hosts in the cluster are prepared as transport nodes and all are in Overlay TZ. I have created a logical switch on NNSX manager which i can see conveyed to NSX controllers(if i check on controllers via cli) however i don't see those logical switches on ESXi hosts when i run "get logical-switches" command on nsxcli shell of ESXi host.

Output from controller:

----------------------------

nsxt-ctlr1> get logical-switch

VNI      UUID                                   Name

67584    xxxxxxx-xxxxx-x-xx-xxx   switch1

67586    xxxxx-xxxxx-xxxx-xxxxx   test1

nsxt-ctlr1> get logical-switch 67586 transport-node-table

nsxt-ctlr1>

I am following the NSX-T2.3 troubleshooting guide and i have confirmed on host that the following services are running:

1- nsx-mpa

2- nsx-opsagent

3- netcpad

I also checked the controllers and manager output from host:

host> get managers

- 192.168.0.11     Connected

host> get controllers

Controller IP    Port     SSL         Status       Is Physical Master   Session State  Controller FQDN

192.168.0.250    1235   enabled      not used            false              null              NA

192.168.0.252    1235   enabled     connected             true               up               NA

192.168.0.251    1235   enabled      not used            false              null              NA

host# esxcli network ip connection list | grep 1235

tcp         0       0  192.168.0.16:20410               192.168.0.252:1235  ESTABLISHED     89665  newreno  nsx-proxy . <--- As per troubleshooting guide this should be netcpa but in my output it is nsx-proxy??

host# esxcli network ip connection list | grep 5671

tcp         0       0  192.168.0.16:61104               192.168.0.11:5671   ESTABLISHED     91052  newreno  mpa

tcp         0       0  192.168.0.16:22875               192.168.0.11:5671   ESTABLISHED     91052  newreno  mpa

Not sure why logical switches are not seen on hosts:

Output from host:

--------------------

Host> get logical-switch

                  Logical Switches Summary

------------------------------------------------------------

                    Overlay Kernel Entry

============================================================

  VNI                    DVS name                 VIF num

                     Overlay LCP Entry

============================================================

  VNI              Logical Switch UUID

                     VLAN Backed Entry

============================================================

          Logical Switch UUID            VLAN ID

Any help would be highly appreciated.

Thanks,

Amit

0 Kudos
1 Reply
bbirdy
VMware Employee
VMware Employee

Until you attach a VM to the logical switch, you wont see them on the host. The host only joins the LS, as a VTEP, once it has an active VM running it, that's attached to the LS.

0 Kudos