ENABLE SSH. ESXI GUI: https://www.experts-exchange.com/articles/28874/HOW-TO-Enable-SSH-Remote-Access-on-a-VMware-vSphere-Hypervisor-6-5-ESXi-6-5.html
CHECK VERSION AND LOOK FOR A CHEATSHEET:
] vmware -v VMware ESXi 6.5.0 build-5969303
VM LIST
esxcli vm process list # List VMs, name , drives, etc etc
NETWORK SHOW
https://www.tunnelsup.com/networking-commands-for-the-vmware-esxi-host-command-line/
esxcfg-nics -l Name PCI Driver Link Speed Duplex MAC Address MTU Description vmnic0 0000:01:00.0 ntg3 Up 1000Mbps Full c8:1f:66:ea:fa:d2 9000 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet vmnic1 0000:01:00.1 ntg3 Up 1000Mbps Full c8:1f:66:ea:fa:d3 9000 Broadcom Corporation NetXtreme BCM5720 Gigabit Ethernet
See this link for routing: External Link
esxcfg-route -l esxcfg-route -a default 10.8.8.126 esxcli network ip # Press Enter and see all the options esxcli network ip interface ipv4 get # show IPs
esxcli network ip route ipv4 list # vmk0 is physical Network Netmask Gateway Interface Source -------- ------------- -------- --------- ------ default 0.0.0.0 10.8.8.1 vmk0 MANUAL 10.8.8.0 255.255.254.0 0.0.0.0 vmk0 MANUAL
NETWORK CONFIG
nc -z 10.8.8.220 30010 # test vm port ping 10.8.8.220
esxcli network firewall get # firewall management
esxcli network firewall ruleset rule list | grep Inbound