vicfgvicfg-nas Used to manipulate NAS/NFS.
--add or -a to add a new NAS file system
--delete or -d to delete a NAS file system
--help to display help text
--nasserver or -o followed by
--share or -s used with -a to provide the name of the directory that is exported on the NAS device
--vihost or -h followed by
vicfg-vmhbadevs Used to discover information about available LUNs.
--help to display help text
--query or -q to print the output in 2.6 compatibility mode
--vihost or -h followed by
--vmfs or -m to print the VMFS UUID in addition to the HBA and /dev names for LUNs that are formatted as VMFS
vicfg-mpath Used to manipulate multipathing.
--help to display help text
--bulk or -b to show all LUNs and paths in parsable format
--detailed or -d to show all information about a LUN, including its globally unique name
--hbas or -a to print the list of HBAs that can be identified by a unique ID
--list or --l to list all LUNs on the system and the paths to each LUN
--lun or -L followed by
--path or -P followed by
option is not used by itself)
--policy or -p followed by [mru | fixed] to set the policy for a given LUN (the option for round-robin (rr) can be used but is still experimental)
--preferred or -f to set the specified path (--path) as the preferred path
--query or -q to query a LUN for information
--state or -s followed by on or off to enable or disable a given path
--vihost or -h followed by
Server host
vicfg-rescan Used to perform a rescan for discovering new LUNs.
--help to display help text
--vihost or -h followed by
(i.e., vmhba1)
vicfg-dumppart Used to query, set, and scan diagnostic partitions on ESXi.
--activate or -a to activate the configured diagnostic partition (performs the same as
--set)
--deactivate or -d to deactivate the currently active diagnostic partition
--find or -f to find all diagnostic partitions
--get-active or -t to get the active diagnostic partition for the system
--get-config or -c to get the configured diagnostic partition for the system
--list or -l to list all partitions on the system that can act as a diagnostic partition
--set or -s followed by
--vihost or -h followed by
vicfg-nics Used to report on and manage physical network adapters.
--help to display help text
--auto or -a to set the given adapter to autonegotiate the speed and duplex settings
--duplex or -d followed by [full | half]
--speed or -s followed by
--list or -l to list the physical adapters in the system
--vihost or -h followed by
vicfg-vmknic Used to configure virtual network adapters.
--help to display help text
--add or -a to add a virtual network adapter to the system (an IP address and port group
name must be specified)
--del or -d followed by
port group
--ip or -i followed by [
IP address or to obtain an address from a DHCP server
--list or -l to list virtual network adapters on the system
--netmask or -n followed by
--vihost or -h followed by
vicfg-vswitch Used to configure virtual switches.
--help to display help text
--add or -a followed by
--add-pg or -A followed by
--check or -c followed by
--check-pg or -C followed by
--delete or -d followed by
command will not work if any of the virtual switch ports are in use)
--del-pg or -D followed by
will not work if the port group is in use)
--link or -L followed by
--list or -l to list all virtual switches and port groups
--mtu or -m to set the maximum transmission unit (MTU) of the virtual switch
--pg or -p followed by
the --vlan option (use the ALL parameter to set VLAN IDs on all port groups of a virtual switch)
--vlan or -v to set the VLAN ID for a specific port group (using the parameter 0 disables all
VLAN IDs; using --vlan requires the --pg option)
--vihost or -h followed by
vicfg-route Used to configure the default route for VMkernel ports.
--help to display help text
--vihost or -h followed by
vicfg-ntp Used to configure NTP settings.
--help to display help text
--add or -a followed by
--delete or -d followed by
--list or -l to list the configured NTP servers
--vihost or -h followed by