After migrating an ESXi host to a new vSphere Distributed Switch (VDS), the host transport node status in NSX Manager displays as "Degraded".
While physical NICs (vmnics) appear "Up" in the vSphere Client, the NSX Monitor tab shows a "Down" bond status.
Logs in ESXi host /var/run/log/nsx-syslog.log will show:
[Heatmap][GetSwitchPnicBondsStatus] get DvsPortset-1 (vswitch:true) pnic message[Heatmap][KCPGetPSTeam] Got 2 uplinks and 0 LAGs[Heatmap][KCPGetPSTeam] 2 pnics 0 lags[Heatmap][GetNSXTeamingMap] <VDS_name> team has 2 ports[Heatmap][GetNSXTeamingMap] teaming 0 uplink1[Heatmap][GetNSXTeamingMap] teaming 1 uplink2[Heatmap][GetSwitchPnicBondsStatus] Got pnic vmnic1 state up[Heatmap][GetSwitchPnicBondsStatus] Got pnic vmnic2 state up[Heatmap][GetSwitchPnicBondsStatus] teaming uplink1 unknown[Heatmap][GetSwitchPnicBondsStatus] teaming uplink2 unknown[Heatmap][GetSwitchPnicBondsStatus] teaming down
VMware NSX
The issue is caused by an inconsistent or stale mapping between the new VDS portset and the NSX Transport Node teaming profile. When the host is moved to a new VDS, the NSX management agents on the ESXi host may fail to correctly associate the new physical uplinks with the existing teaming policy, resulting in an "unknown" status for the bond.
To resolve the stale mapping, the NSX configuration must be detached and the management services restarted before re-associating the host with the VDS.
/etc/init.d/nsx-opsagent restart/etc/init.d/nsx-proxy restart