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 11. ESXCLI In<strong>for</strong>mation Retrieval <strong>Command</strong>s (Cont<strong>in</strong>ued)<br />

<strong>Command</strong> Description<br />

esxcfg-ipsec<br />

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

hardware cpu global get List <strong>in</strong><strong>for</strong>mation and configuration global to all CPUs.<br />

hardware cpu list List all CPUs on this host.<br />

hardware memory get Get <strong>in</strong><strong>for</strong>mation about memory.<br />

hardware pci list List all the PCI devices on this host.<br />

hardware plat<strong>for</strong>m get Get <strong>in</strong><strong>for</strong>mation about the plat<strong>for</strong>m.<br />

network vswitch standard list List the virtual switches on the ESXi host.<br />

network vswitch standard policy shap<strong>in</strong>g get Retrieve the network shap<strong>in</strong>g <strong>in</strong><strong>for</strong>mation <strong>for</strong> the<br />

virtual switch.<br />

network vswitch standard policy failover get Retrieve the failover policy <strong>in</strong><strong>for</strong>mation <strong>for</strong> the virtual<br />

switch.<br />

network vswitch standard policy security get Retrieve the security policy <strong>in</strong><strong>for</strong>mation <strong>for</strong> the<br />

virtual switch.<br />

network vswitch standard portgroup policy shap<strong>in</strong>g<br />

get<br />

network vswitch standard portgroup policy failover<br />

get<br />

network vswitch standard portgroup policy security<br />

get<br />

Retrieve the network shap<strong>in</strong>g <strong>in</strong><strong>for</strong>mation <strong>for</strong> the<br />

port group.<br />

Retrieve the failover policy <strong>in</strong><strong>for</strong>mation <strong>for</strong> the port<br />

group.<br />

Retrieve the security policy <strong>in</strong><strong>for</strong>mation <strong>for</strong> the port<br />

group.<br />

network nic list List the physical NICs currently <strong>in</strong>stalled and loaded<br />

on the system.<br />

network ip <strong>in</strong>terface list List the VMkernel network <strong>in</strong>terfaces currently<br />

known to the system.<br />

network ip dns server list Pr<strong>in</strong>t a list of the DNS server currently configured on<br />

the system <strong>in</strong> the order <strong>in</strong> which they will be used.<br />

In vSphere 5.1, you can use commands <strong>in</strong> the esxcli network ip ipsec namespace <strong>in</strong> place of the<br />

esxcfg-ipsec command.<br />

Table 12. esxcfg-ipsec Replacement <strong>Command</strong>s<br />

vicfg-ipsec Option esxcli <strong>Command</strong> or Option<br />

--action [none|discard|ipsec] | network ip ipsec sp add --action<br />

--add-sa | network ip ipsec sa add<br />

--add-sp | network ip ipsec sp add<br />

--dir [<strong>in</strong> | out] | network ip ipsec sp add --flowdirection<br />

--dst-port | network ip ipsec sp add --dest<strong>in</strong>ationport<br />

--flush-sa | network ip ipsec sp remove --removeall<br />

--flush-sp | network ip ipsec sa remove --removeall<br />

--ealgo [null | 3des-cbc | aes128-cbc]| network ip ipsec sa add --encryptionalgorithm<br />

--ekey | network ip ipsec sa add --encryptionkey<br />

--ialgo [hmac-sha1 | hmac-sha2-256] | network ip ipsec sa add --<strong>in</strong>tegrityalgorithm<br />

--ikey | network ip ipsec sa add --<strong>in</strong>tegritykey<br />

--list-sa | network ip ipsec sa list<br />

--list-sp | network ip ipsec sp list<br />

--remove-sa | network ip ipsec sa remove<br />

VMware, Inc. 21

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

Saved successfully!

Ooh no, something went wrong!