esxcfg-vmknic -l, esxcli network ip interface list).esxcfg-vswitch -l shows VMkernel adapters are still mapped to stale N-VDS switch.VMware NSX
VMware vSphere
The VMkernel adapters vmk0 and vmk1 were not successfully migrated from the legacy N-VDS to the new switch. As a result, although they are no longer listed under esxcfg-vmknic -l or esxcli, they still appear bound to uplinks from the stale N-VDS.
To resolve the issue of vmk0 and vmk1 being bound to the stale N-VDS, recreate the VMkernel adapters on the correct switch using the following steps:
https://<nsx-manager>/api/v1/transport-nodes/<transport-node-uuid>?action=resync_host_configesxcli network ip interface remove --interface-name=vmk0esxcli network vswitch standard portgroup add --portgroup-name=portgroupname --vswitch-name=vSwitch0esxcli network ip interface add --portgroup-name=portgroupnameesxcli network ip interface ipv4 set --interface-name=vmkX --ipv4=<IP Address> --netmask=2<subnetmask> --type=staticesxcli network ip interface tag add --interface-name=vmk0 --tag=Managementesxcli network ip interface list