VMware vCenter Server
VMware vSphere ESXi
switchport mode access
switchport access vlan x
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan x,y,z
spanning-tree portfast trunk
switchport trunk encapsulation dot1q
switchport mode trunk
switchport trunk allowed vlan x,y,z
spanning-tree portfast trunk
For translated versions of this article, see: