ESXi add portgroup to vswitch with esxcli

Using ESXi 5.1, add the portgroup first, then define vlan id for it:

# esxcli network vswitch standard portgroup add -v vSwitch1 -p vlan701
# esxcli network vswitch standard portgroup set -p vlan701 -v 701

Leave a Reply

Your email address will not be published. Required fields are marked *