Monday, May 16, 2016

vSphere esxcfg-xxx VS vicfg-xxx commands

For many of the vCLI commands, you might have used scripts with corresponding service console commands starting with an esxcfg prefix to manage ESX 3.x hosts. To facilitate easy migration from ESX/ESXi 3.x to later versions of ESXi, a copy of each vicfg- command that uses an esxcfg- prefix is included in the vCLI package.
Important VMware recommends that you use the vCLI commands with the vicfg prefix. Commands with the esxcfg prefix are available mainly for compatibility reasons and might become obsolete.
vCLI esxcfg- commands are equivalent to vicfg- commands, but not completely equivalent to the deprecated esxcfg- service console commands.
Commands with an esxcfg Prefix lists all vCLI commands for which a vCLI command with an esxcfgprefix is available.
Commands with an esxcfg Prefix 
vicfg-advcfg
esxcfg-advcfg
vicfg-cfgbackup
esxcfg-cfgbackup
vicfg-dns
esxcfg-dns
vicfg-dumppart
esxcfg-dumppart
vicfg-module
esxcfg-module
vicfg-mpath
esxcfg-mpath
vicfg-nas
esxcfg-nas
vicfg-nics
esxcfg-nics
vicfg-ntp
esxcfg-ntp
vicfg-rescan
esxcfg-rescan
vicfg-route
esxcfg-route
vicfg-scsidevs
esxcfg-scsidevs
vicfg-snmp
esxcfg-snmp
vicfg-syslog
esxcfg-syslog
vicfg-vmknic
esxcfg-vmknic
vicfg-volume
vicfg-vswitch
esxcfg-vswitch

No comments:

Post a Comment