Home > Blogs > VMware vSphere Blog > Tag Archives: vCLI

Tag Archives: vCLI

Configuring SNMP v1/v2c/v3 Using ESXCLI 5.1

In previous releases of ESXi, only SNMP v1 and v2c was supported on the host. With the latest release of ESXi 5.1, we now have added support for SNMPv3 which provides additional security when collecting data from the ESXi host. You also have the ability to specify where to source hardware alerts using either IPMI sensors (as used by previous release of ESXi) or CIM indicators. You can also filter out specific traps you do not wish to send to your SNMP management server.

In addition to SNMPv3 support, we also now have an ESXCLI equivalent command to the old vicfg-snmp command. This means that you no longer have to use multiple commands to configure your ESXI hosts and can standardize on just using ESXCLI for all your host level configurations.

Continue reading

Automating CA Self-Signed Certificates for ESXi 5.1 for use with resxtop

Last week I wrote an article about resxtop failing to connect to an ESXi 5.1 host due to SSL Certificate validation which has been implemented in resxtop and I provided a few workarounds that you can use until a fix is released for resxtop. As promised at the end of that article, I will show you how you can automate the creation proper certificates for environments using CA self-signed SSL Certificates so you can continue using resxtop with ESXi 5.1 until a fix is released.

Continue reading

resxtop fails to connect to a vSphere 5.1 host

If you have recently installed the latest vCLI 5.1 release and using the remote resxtop utility to connect to a vSphere 5.1 host, you might have noticed one of the following error messages: Login failed, reason: HTTPS_CA_FILE or HTTPS_CA_DIR not set or SSL Exception: Verification parameters

Continue reading

What’s New In ESXCLI 5.1

With the release of vSphere 5.1, there have been some major enhancements to ESXCLI which is part of the vCLI 5.1 release, also available with the latest vMA 5.1. Here’s a quick summary overview of the ESXCLI top level root namespaces that have received updates.

82 new ESXCLI commands:

  • 7 hardware

  • 2 sched

  • 47 network

  • 15 storage

  • 11 system

In addition to the new ESXCLI commands for vSphere 5.1 features, we continue to bring further parity from some of our legacy esxcfg-* and vicfg-* commands over to ESXCLI and to standardize on a common command-line interface for host configuration and management. In this release, we have introduced the following new namespaces:

Previous Command New ESXCLI Command
esxcfg-route/vicfg-route esxcli network ip route
vicfg-snmp esxcli system snmp
vicfg-hostops (maintenance mode) esxcli system maintenanceMode
vicfg-hostops (shutdown/reboot) esxcli system shutdown

For more details on all the new ESXCLI commands, please take a look at the release notes here. Also stay tuned for upcoming blogs posts in which we will be exploring some of the new ESXCLI 5.1 commands in greater detail!

Download: vSphere CLI 5.1

Also don’t forget to check out our updated VMware ESXi reference poster which has recently been refreshed for ESXi 5.1 and you can download your copy here.

Additional Information

If you are visiting VMworld Europe in 2012 make sure you add  INF-VSP1252 – What’s New with vSphere 5.1 – ESXCLI & PowerCLI to your session list and we hope to see you there!

Get notification of new blog postings and more by following lamw on Twitter:  @lamw

Understanding ESXi Patches – Manually Patching ESXi hosts

Kyle Gleed, Sr. Technical Product Manager, VMware

I’ve recently been blogging about ESXi patches with the hopes of making it easier for you to identify and track  available updates and to keep your ESXi hosts up-to-date.  In my first post I talked about how to find patches.  In my second post I went over the steps to manually upload the patches into Update Manager.  The next topic I want to cover is how to install the patches using the vCLI.  Fortunately, this is easily done because there are already a couple of good blog posts that show how to do this.  So rather than reinvent the wheel, I’m just going to point to the existing articles.

Back in September 2010, shortly after we released our first ESXi 5.0 update I wrote this article giving an overview on how to use the new ESXCLI command released with vSphere 5.0 to install ESXi updates update.

More recently William Lam recently posted this excellent article that not only shows how to use the new ESXCLI command with ESXi 5.0, but also provides a good overview of the other available vCLI and PowerCLI commands that can be used to patch versions of ESX/ESXi prior to 5.0: 

Follow me on twitter @VMwareESXi

New vCLI Video from VMware Tech Pubs

Kyle Gleed, Sr. Technical Marketing Manager

VMware Tech Pubs just released another great video, this one provides an overview of the vCLI in vSphere 5.0:

You can use the vCLI command set to manage ESXi hosts remotely. This video gives an overview of available authentication methods including session files, Active Directory, and configuration files. It also explains how to run commands against vCenterServer systems to target ESXi hosts in lockdown mode.

Be sure to check out the other great videos on the VMware Tech Pubs Channel as well.