18.08.2013 Views

Command-line management in vsphere 5.0 for service console users

Command-line management in vsphere 5.0 for service console users

Command-line management in vsphere 5.0 for service console users

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 22. esxcfg-vmknic Replacement <strong>Command</strong>s (Cont<strong>in</strong>ued)<br />

esxcfg- option ESXCLI <strong>Command</strong> Description<br />

--enable network ip <strong>in</strong>terface ipv4 set<br />

--<strong>in</strong>terface-name=<br />

--enable-ipv6 -6<br />

[true | false]<br />

--ip -i<br />

<br />

esxcfg-volume<br />

network ip <strong>in</strong>terface ipv6 set<br />

--enable-dhcpv6<br />

network ip <strong>in</strong>terface ipv6 address<br />

[list|add|remove]<br />

network ip <strong>in</strong>terface ipv4 set<br />

--<strong>in</strong>terface-name=<br />

network ip <strong>in</strong>terface ipv6 set<br />

--<strong>in</strong>terface-name=<br />

--list -l network ip <strong>in</strong>terface list<br />

network ip <strong>in</strong>terface ipv4 list<br />

network ip <strong>in</strong>terface ipv6 list<br />

--mtu network ip <strong>in</strong>terface set<br />

--<strong>in</strong>terface-name= --mtu=<br />

--netmask <br />

-n<br />

network ip <strong>in</strong>terface ipv4 set<br />

--<strong>in</strong>terface= --netmask=<br />

network ip <strong>in</strong>terface ipv4 set<br />

--<strong>in</strong>terface= --netmask=<br />

--peerdns -p network ip <strong>in</strong>terface ipv4 set<br />

--<strong>in</strong>terface=<br />

--peer-dns=[true|false]<br />

network ip <strong>in</strong>terface ipv6 set<br />

--<strong>in</strong>terface=<br />

--peer-dns=[true|false]<br />

--portgroup<br />

<br />

--unset-ip<br />

-U<br />

Not needed.<br />

Not needed.<br />

<strong>Command</strong>-L<strong>in</strong>e Management <strong>in</strong> vSphere 5 <strong>for</strong> Service Console Users<br />

Set and enable the specified VMkernel<br />

NIC if it is disabled.<br />

Enable IPv6 <strong>for</strong> the next boot; manage the<br />

IPv6 address.<br />

The IP address to be used <strong>for</strong> the<br />

VMkernel NIC.<br />

If you set a static IPv4 address, you must<br />

specify the --netmask option <strong>in</strong> same<br />

command.<br />

List VMkernel network <strong>in</strong>terfaces.<br />

List IPv4 addresses assigned to the<br />

system.<br />

List IPv6 addresses assigned to the<br />

system.<br />

MTU <strong>for</strong> the <strong>in</strong>terface be<strong>in</strong>g created. Used<br />

at the top-level ip namespace, not <strong>in</strong>side<br />

the ipv4 or ipv6 namespace.<br />

IP netmask(X.X.X.X) to be used <strong>for</strong> the<br />

VMkernel NIC. Sett<strong>in</strong>g an IP netmask<br />

requires that the --<strong>in</strong>terface option be<br />

given <strong>in</strong> same command.<br />

Set peer DNS. If set, the system uses the<br />

host name, IP address and doma<strong>in</strong><br />

returned by DHCP. Valid only <strong>for</strong> DHCP.<br />

The esxcfg-volume command manages LVM snapshot or replica volumes. In vSphere 5, equivalent ESXCLI<br />

commands are available <strong>in</strong> the esxcli storage filesystem and <strong>in</strong> the esxcli storage vmfs namespaces.<br />

Table 23. esxcfg-volume Replacement <strong>Command</strong>s<br />

esxcfg-volume Option ESXCLI <strong>Command</strong> Description<br />

--list -l storage vmfs snapshot<br />

list<br />

--mount -m<br />

--persistent -M<br />

--resignature<br />

<br />

--umount -u<br />

<br />

storage vmfs snapshot<br />

mount<br />

storage vmfs snapshot<br />

resignature<br />

storage vmfs snapshot<br />

unmount<br />

List unresolved snapshot LUNs or replicas of VMFS volumes.<br />

Mount a snapshot or replica of a VMFS volume. Use the<br />

--nopersist option to mount the volume non-persistently.<br />

Resignature a snapshot or replica volume.<br />

Disconnect and unmount an exist<strong>in</strong>g VMFS or NAS volume.<br />

The command does not delete the configuration <strong>for</strong> the<br />

volume, but removes the volume from the list of mounted<br />

volumes and halts all I/O or network traffic <strong>for</strong> this volume.<br />

VMware, Inc. 27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!