net-dvs | grep -i <PORT_ID> -A 15 | grep -iE "portid|ranges"
com.vmware.common.port.volatile.status = inUse linkUp portID=<PORT_ID> propType = RUNTIME
ranges = <VLANs>
VMware vSphere ESXi
VMware vCenter Server
VLAN tagging requires that the virtual network interface card (vNIC) supports the IEEE 802.1Q protocol.
Not all virtual NICs support VLAN tagging, and in some cases, VLAN ID configuration may be disabled or not properly set.
The VM should be using the VMXNET3 network adapter type for VLAN trunking and tagging functionality.
To ensure proper VLAN tagging support, verify and configure the VLAN ID on the network adapter for Windows:
If you are using Linux distributions, firewall appliances, or load balancers, please engage your system or vendor support to confirm the proper method of setting up VLAN IDs within the operating system.