Find out ESXi network speed using esxcli




To find the network speed for NIC cards:


root@server root]# esxcfg-nics -l

Name PCI Driver Link Speed Duplex Description
vmnic0 04:04.00 tg3 Up 1000Mbps Full BCM5780 Gigabit Ethernet
vmnic1 04:04.01 tg3 Up 1000Mbps Full BCM5780 Gigabit Ethernet

VCSA boot fails to start Network Service



VCSA boot fails to start  Network Service:

Error:



Solution:

This happens while booting process. The appliance shows the error "Failed to start File System Check" and it's stuck in Emergency Mode.Please enter root password and enter below command:

you can check the failed file system by running below command:
#systemctl status systemd-fsck-root  =>this gives the failed file system.

# fsck /dev/mapper/log_vg-log

once all fixes reboot.

ESXi CLI to check License




run below command from ssh to see the expiration of esxi license. 

vim-cmd vimsvc/license --show|grep -i date

Restart management Agents via command line in ESXi



Please run below commands to restart vpxa and hostd agents in ssh


/etc/init.d/hostd restart
/etc/init.d/vpxa restart

how to unlink a NIC from a esxi vSwitch

  List the vSwitches from ESXI using CLI:          esxcli network vswitch standard list  output example: vSwitch0    Name: vSwitch0    Class...