===== VMware ESXi General ===== {{tag>VMware ESXi}} === SNMP === [root@vmh1:~] esxcli system snmp set --communities community1 [root@vmh1:~] esxcli system snmp set --port 161 [root@vmh1:~] esxcli system snmp set --enable true === Ping === The ++netstack option will allow you to use alternative TCP/IP stacks. [root@vmh1:~] ping ++netstack=vmotion -I vmk4 172.17.12.105 The following command will list available TCP/IP stacks on a host. [root@vmh1:~] esxcli network ip netstack list The following command will list VMKernels and associated IPs on a host. [root@vmh1:~] esxcli network ip interface ipv4 get === Routing === Host routing table [root@matx01vmvh01:~] esxcfg-route -l -N defaultTcpipStack VMkernel Routes: Network Netmask Gateway Interface 10.2.50.8 255.255.255.255 10.2.5.26 vmk0 10.2.5.0 255.255.255.0 Local Subnet vmk0 10.2.6.0 255.255.255.0 Local Subnet vmk1 10.2.7.0 255.255.255.0 Local Subnet vmk2 10.2.8.0 255.255.255.0 Local Subnet vmk3 default 0.0.0.0 10.2.5.21 vmk0 [root@matx01vmvh01:~] Host ARP table [root@matx01vmvh01:~] esxcfg-route -n Neighbor MAC Address Interface Expiry Type 10.2.5.40 00:50:56:b1:f8:f3 vmk0 19m07s Unknown 10.2.5.39 00:50:56:a9:ab:8e vmk0 19m07s Unknown 10.2.5.38 00:50:56:b1:71:58 vmk0 19m07s Unknown 10.2.5.26 00:19:30:e8:0b:ff vmk0 13m35s Unknown 10.2.5.90 00:0c:29:c8:06:06 vmk0 10m13s Unknown 10.2.5.21 00:00:5e:00:01:19 vmk0 49s Unknown 10.2.6.82 00:50:56:63:fa:59 vmk1 18m42s Unknown 10.2.6.83 00:50:56:66:29:36 vmk1 18m42s Unknown [root@matx01vmvh01:~] === VMware Tools === Move VMware tools from local disk to ram disk. [root@matx01vmvh04:~] esxcli system settings advanced set -o /UserVars/ToolsRamdisk -i 1 [root@matx01vmvh04:~] esxcli system settings advanced list -o /UserVars/ToolsRamdisk === General === http://www.virtuallyghetto.com/2017/02/no-suitable-disk-was-found-when-upgrading-to-esxi-6-5-on-usb.html