VMWare ESX Command Guide

Tags: , , ,

I was stuck with VMware ESX 3 NFS problem since 2 days ago. I tried mostly all the possibility about the Linux NFS problem but I missed out VMware ESX firewall. Damm!

Finally I found out this 2 useful link from google.

1. VMware ESX 3.x Command Guide
2. VMware ESX 2.x Command Guide

- esxcfg-firewall - configure Firewall
- esxcfg-module - VMware Module
- esxcfg-rescan - rescan of a host bus adapter (HBA)
- esxcfg-vswitch - this command allows you to list, add, modify or delete virtual Ethernet switches on an ESX host. The simplest option with this command is the -l option to list the virtual switches defined on the host.
- esxcfg-auth - configures the service console authentication options including NIS, LDAP, Kerberos and Active Directory.
- esxcfg-info - produces an enormous amount of information about the ESX host.
- esxcfg-mpath - manages storage multi-pathing
- esxcfg-resgrp - manage the new ESX feature called resource groups
- esxcfg-hbadevs - used to list the equivalent Linux device names for the visible disk devices that the VMkernel references using vmhba notation.
- esxcfg-boot - configure the GRUB options
- esxcfg-nas - used to list, mount and dismount NFS exports for the VMkernel. In the first example we list the NFS datastores which the VMkernel has mounted.
- esxcfg-route - configure that IP stack by also assigning a default gateway
- esxcfg-vmknic - used to view and set configure the VMkernel ports on virtual Ethernet switches

And many more here.

For example VMware ESX Firewall:

List current firewall settings:


[root@esxhost1 root]# esxcfg-firewall -q

List known services:


[root@esxhost1 root]# esxcfg-firewall -s

Open Port:


[root@esxhost1 root]# esxcfg-firewall -o


Close Port:


[root@esxhost1 root]# esxcfg-firewall -c

Allow all incoming & Outgoing ports:


[root@esxhost1 root]# esxcfg-firewall –alllowIncoming –allowOutgoing

Type esxcfg-firewall -h for more informations.

Possibly Related Posts:


Leave a Reply