Esxcli: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
===Install VIB file=== | ===Install VIB file=== | ||
<pre>esxcli software vib install -v /vmfs/volumes/VMStorage/temp/file.vib</pre> | <pre>esxcli software vib install -v /vmfs/volumes/VMStorage/temp/file.vib</pre> | ||
===List network adapters=== | |||
<pre>esxcli network nic list</pre> | |||
Example output: | |||
<pre style="color: silver; background: black; width: 800px"> | |||
[root@esxh001:~] esxcli system snmp get | |||
Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description | |||
------ ------------ ------ ------------ ----------- ----- ------ ----------------- ---- ------------------------------------------------------- | |||
vmnic2 0000:09:00.0 tg3 Up Up 1000 Full 70:e4:22:84:9d:34 1500 Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet | |||
vmnic3 0000:09:00.1 tg3 Up Up 1000 Full 70:e4:22:84:9d:35 1500 Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet | |||
[root@esxh001:~] | |||
</pre> |
Revision as of 13:28, 29 October 2019
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)
Install offline bundle
esxcli software vib install -d /vmfs/volumes/VMStorage/temp/file.zip
Install VIB file
esxcli software vib install -v /vmfs/volumes/VMStorage/temp/file.vib
List network adapters
esxcli network nic list
Example output:
[root@esxh001:~] esxcli system snmp get Name PCI Device Driver Admin Status Link Status Speed Duplex MAC Address MTU Description ------ ------------ ------ ------------ ----------- ----- ------ ----------------- ---- ------------------------------------------------------- vmnic2 0000:09:00.0 tg3 Up Up 1000 Full 70:e4:22:84:9d:34 1500 Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet vmnic3 0000:09:00.1 tg3 Up Up 1000 Full 70:e4:22:84:9d:35 1500 Broadcom Corporation NetXtreme BCM5719 Gigabit Ethernet [root@esxh001:~]