"Not all the configured VLANs in the vSphere Distributed Switch were trunked by the physical switch connected to uplink port 447 in vSphere Distributed Switch on host"
root. In /var/run/log/hostd.log, there are errors related to the VLAN settings.2025-06-03T17:09:34.301Z In(166) Hostd[######]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 3306 : Not all the configured VLANs in the vSphere Distributed Switch were trunked by the physical switch connected to uplink port ### in vSphere Distributed Switch on host <ESXi FQDN>.
2025-06-03T17:09:34.301Z In(166) Hostd[######]: [Originator@6876 sub=Vimsvc.ha-eventmgr] Event 3308 : Not all the configured VLANs in the vSphere Distributed Switch were trunked by the physical switch connected to uplink port ### in vSphere Distributed Switch on host <ESXi FQDN>.
vSphere ESXi
This issue is caused by a configuration mismatch where the VLAN is assigned to the vSwitch but is not permitted (or trunked) on the connected physical switch port.
Need to thoroughly verify and validate with the physical network team to ensure the physical switch is configured to trunk the corresponding VLAN
/var/run/log/hostd.log, note down the port number for which the alarm is triggered.net-dvs -l
port xxx:
Trunked VLAN: 0,115
Untrunked VLAN:421
To know more about VLAN settings, refer to the KB VLAN configuration on virtual switches, physical switches, and virtual machines