6.0
Table Of Contents
- Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
esxcfg-volume
Theesxcfg-volumecommandmanagesLVMsnapshotorreplicavolumes.InvSphere5,equivalentESXCLI
commandsareavailableintheesxcli storage filesystemandintheesxcli storage vmfsnamespaces.
--enable-ipv6 -6
[true | false]
network ip interface ipv6 set
--enable-dhcpv6
network ip interface ipv6 address
[list|add|remove]
EnableIPv6forthenextboot;managethe
IPv6address.
--ip <address> -i
<address>
network ip interface ipv4 set
--interface-name=<NIC>
network ip interface ipv6 set
--interface-name=<NIC>
TheIPaddresstobeusedforthe
VMkernelNIC.
IfyousetastaticIPv4address,youmust
specifythe--netmaskoptioninsame
command.
--list -l network ip interface list
network ip interface ipv4 list
network ip interface ipv6 list
ListVMkernelnetworkinterfaces.
ListIPv4addressesassigned
tothe
system.
ListIPv6addressesassignedtothe
system.
--mtu <mtu> network ip interface set
--interface-name=<NIC> --mtu=<long>
MTUfortheinterfacebeingcreated.Used
atthetop-levelipnamespace,notinside
theipv4oripv6namespace.
--netmask <netmask>
-n
network ip interface ipv4 set
--interface=<NIC> --netmask=<netmask>
network ip interface ipv4 set
--interface=<NIC> --netmask=<netmask>
IPnetmask(X.X.X.X)tobeusedforthe
VMkernelNIC.SettinganIPnetmask
requiresthatthe--interfaceoption
be
giveninsamecommand.
--peerdns -p network ip interface ipv4 set
--interface=<NIC>
--peer-dns=[true|false]
network ip interface ipv6 set
--interface=<NIC>
--peer-dns=[true|false]
SetpeerDNS.Ifset,thesystemusesthe
hostname,IPaddressanddomain
returnedbyDHCP.ValidonlyforDHCP.
--portgroup
<port_group>
Notneeded.
--unset-ip
-U
Notneeded.
Table 23. esxcfg-volume Replacement Commands
esxcfg-volume Option ESXCLI Command Description
--list -l storage vmfs snapshot
list
ListunresolvedsnapshotLUNsorreplicasofVMFSvolumes.
--mount -m
--persistent -M
storage vmfs snapshot
mount
MountasnapshotorreplicaofaVMFSvolume.Usethe
--nopersistoptiontomountthevolumenon-persistently.
Table 22. esxcfg-vmknic Replacement Commands (Continued)
esxcfg- option ESXCLI Command Description










