0.0.0.0
esxcfg-vswitch -l command from ESXi host gives error Listing failed for DVSwitch, as in the below screenshotListing failed for DVSwitch: DvsPortset-0, Error: Unable to get MTU: Status(bad0007)= Bad parameterhostd.log reported the below error for any vSwitch related changes performed2025-05-27T06:35:26.603Z info hostd[2106890] [Originator@6876 sub=Solo.Vmomi opID=esxui-84f5-9ce6 user=root] Result:--> (vim.fault.PlatformConfigFault) {--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "com.vmware.esx.hostctl.default",--> arg = (vmodl.KeyAnyValue) [--> (vmodl.KeyAnyValue) {--> key = "reason",--> value = "Unable to Disassociate Proxy DVS: Status(bad0003)= Not found" vmkernel.log reported the below error 2025-05-27T05:37:31.933Z cpu90:2097842)WARNING: NetDVS: 2779: Failed to write critical property com.vmware.nsxData.vdl2.forwardingMode on DVS 50 ## ## 9a ## ## 77 72-ce ## ## cb e5 ## ## 7c, return :Not found.2025-05-27T05:37:31.933Z cpu90:2097842)NetDVS: 9794: Failed to associate DVS 50 ## ## 9a ## ## 77 72-ce ## ## cb e5 ## ## 7c with proxy DvsPortset-0.2025-05-27T05:37:31.948Z cpu90:2097842)WARNING: NetDVS: 1850: Attempt to associate with DVS 50 ## ## 9a ## ## 77 72-ce ## ## cb e5 ## ## 7c with no proxy vswitch, port 10 (type 1)2025-05-27T05:37:31.948Z cpu90:2097842)WARNING: NetDVS: 903: Connect to DVS port 10 failed Not found2025-05-27T05:37:31.948Z cpu90:2097842)Net: 3374: DVS 50 ## ## 9a ## ## 77 72-ce ## ## cb e5 ## ## 7c port 0 not associated: Not found.2025-05-27T05:37:31.948Z cpu90:2097842)WARNING: Tcpip_Vmk: 1721: Could not open a port to 10: Not found2025-05-27T05:37:31.948Z cpu90:2097842)WARNING: Tcpip_Vmk: 1349: Unable to attach vmk2 to 10 [error = 0xbad0003]From the net-dvs -l command output of the ESXi host, you see that the com.vmware.nsx.vdl2.enabled property is after com.vmware.nsxData.vdl2.forwardingMode property
com.vmware.nsxData.vdl2.forwardingMode = 0x 0. 0. 0. 1 propType = RUNTIMEcom.vmware.common.opaqueDvs.status.component.lcp.vdl2SyncStatus = up , propType = RUNTIMEcom.vmware.common.opaqueDvs.status.component.lcp.liveness = up , propType = RUNTIMEcom.vmware.common.opaqueDvs.status.component.lcp.ccpSession = up , propType = RUNTIMEcom.vmware.common.opaqueDvs.status.component.lcp.kcpSyncStatus = up , propType = RUNTIMEcom.vmware.common.opaqueDvs.status.component.vswitch = up , propType = CONFIGcom.vmware.common.opaqueDvs.status.component_list = nsxa,vdl2,vswitch,lcp.ccpSession,lcp.liveness,lcp.vdl2SyncStatus,lcp.kcpSyncStatus , propType = CONFIGcom.vmware.host.feature.container = 1 , propType = CONFIGcom.vmware.nsx.vdl2.enabled = true , propType = CONFIG
VMware NSX
VMware vSphere
The cause of the issue is because the com.vmware.nsx.vdl2.enabled DVS property is set after forwardingMode property.
This is a known issue with NSX and will be resolved in future release.
Workaround:
To workaround the issue, follow the below steps.
root user.net-dvs -u "com.vmware.nsxData.vdl2.forwardingMode" -p hostPropList <DVS-Switch-NAME>net-dvs -l | grep forwardingModenet-dvs --persistIf the workaround in this knowledge base article does not resolve the issue, please open a support ticket with Broadcom Support and select NSX as the product.
Handling Log Bundles for offline review with Broadcom support