Esxcli

From roonics
Jump to navigation Jump to search

Useful Commands

Get SNMP details

esxcli system snmp get

Example output:

[root@esxh001:~] esxcli system snmp get
   Authentication:
   Communities: snmp#community13
   Enable: true
   Engineid: 00000063000000a100000000
   Hwsrc: indications
   Largestorage: true
   Loglevel: info
   Notraps:
   Port: 161
   Privacy:
   Remoteusers:
   Syscontact:
   Syslocation:
   Targets: log01@162 snmp#community13
   Users:
   V3targets:
[root@esxh001:~]

Testing jumbo frames with vmkping

vmkping -s 8972 -d <ip of iscsi target>

If jumbo frames is enabled you should get ping replies, if not enabled you will see something like:

sendto() failed (Message too long)