Valid Commands
Note: With the release of 5.0, the majority of the legacy esxcfg-*/vicfg-* commands have been migrated over to esxcli. At some point, hopefully not in the distant future, esxcli will be parity complete and the esxcfg-*/vicfg-* commands will be completely deprecated and removed including the esxupdate/vihostupdate utilities.
- esxcfg-nics
- vicfg-nics
- esxcfg-route
- vicfg-route
- esxcfg-vmknic
- vicfg-vmknic
- esxcfg-vswitch
- vicfg-vswitch
- esxcli network nic
- esxcli network interface
- esxcli network vswitch
- esxcli network ip
What to use When
Examples
DCUI
You can also either connect to the console screen to look at Network Settings or connect via Putty/vMA/vCLI and type DCUI to get the following screen
ESXCLI and VICFG
Retrieving Network Port Information
Setting Virtual Switch Attributes
Listing, Creating and Deleting Standard Switches
Managing a VMKernel Port
Listing, Adding and Removing Port Groups
Configuring a PortGroup with a VLAN ID
Linking and Unlinking Uplink Adapters
Configure DNS and Routing
Managing uplinks in Distributed switches
Command Line reference
Command Line Interface – Getting Started
vCLI Poster of example commands
Leave a Reply