User Tools

Site Tools


virtualization:vmware:67:netw_cli_01

This is an old revision of the document!


Managing Networking from ESXy CLI

List port groups currently associated with a virtual switch.

esxcli <conn_options> network vswitch standard portgroup list

The command lists the port group name, associated virtual switch, active clients, and VLAN ID.

Add a port group.

esxcli <conn_options> network vswitch standard portgroup add --portgroup-name=<name> --vswitch-name=vSwitch1

Delete one of the existing port groups.

esxcli <conn_options> network vswitch standard portgroup remove --portgroup-name=<name> --vswitch-name=vSwitch1
virtualization/vmware/67/netw_cli_01.1570987054.txt.gz · Last modified: 2019/10/13 17:17 by rplecko