banner
 

Path: content/Tips/VMWare ESX/default.md

Change ESX network port parameters

esxcfg-nics  [nic]

-s|--speed Set the speed of this NIC to one of 10/100/1000/10000. Requires a NIC parameter. -d|--duplex Set the duplex of this NIC to one of 'full' or 'half'. Requires a NIC parameter. -a|--auto Set speed and duplexity automatically. Requires a NIC parameter. -l|--list Print the list of NICs and their settings. -r|--restore Restore the nics configured speed/duplex settings (INTERNAL ONLY) -h|--help Display this message.

To change the link state of the physical interface to down: esxcli network nic down -n vmnicX

To change the link state of the physical interface to up: esxcli network nic up -n vmnicX

To auto-negotiate the speed of an adapter: esxcli network nic set -n vmnicX -a

List installed NICs with status info: esxcli network nic list

Scan for vmware servers

nmap -sV -p 80,443 192.168.1.0/24 -oA vmware-scan cat vmware-scan.gnmap | grep “open” | grep “VMware”

Surpress ssh warning on esxi / vmware

By default, vmware causes a yellow warning triangle on any host that has SSH enabled. This can be hidden by setting the UserVars.SuppressShellWarning flag to '1', in host/configuration/Software/Advanced Settings

Restart services

services.sh restart will restart the web interface to ESX . It will not restart the running VMs

Accessing Dell iDrac data from ESX

enum_instances OMC_IPMIIPProtocolEndpoint root/cimv2

This reports all the network info for the iDrac .


free website hit counter