virtualization:vmware:67:netw_cli_01
This is an old revision of the document!
Managing Networking from ESXy CLI
Vmkernel ip interfaces
<code>esxcli network ip interface list
Remove /add vmk0 interface
<code>esxcli network ip interface remove --interface-name=vmk0 <code>esxcli network ip interface add --interface-name=vmk0 --dvs-name=DVSWITCHNAME --dvport-id=PORT_ID
Switches
<code>esxcli network vswitch standard list</code>
Switch remove / add
<code>esxcli network vswitch standard remove --vswitch-name=vSwitch0</code> <code>esxcli network vswitch standard add --vswitch-name=sw0</code>
Portgroups
- List port groups currently associated with a virtual switch.
esxcli network vswitch standard portgroup list
Portgroup remove / add
<code>esxcli network vswitch standard portgroup add --portgroup-name=vmn_10 -v=sw0</code> <code>esxcli network vswitch standard portgroup remove --portgroup-name=vmn_10 -v=sw0</code>
Network Sdapters
<code>esxcli network nic list</code>
Configuring vSwitch or vNetwork Distributed Switch from the command line in ESXi/ESX (1008127)
virtualization/vmware/67/netw_cli_01.1571980091.txt.gz · Last modified: 2019/10/25 05:08 by rplecko
