Hi,
Is there any cli commands I can use yo check what is the usage of my ESXi 5.5 vmkernel ports? I have four vmkernel ports (vmk0-vmk3) and I want to know which one is use by vmotion, iSCSI or management traffic?
I know I can see it from the vCenter server, but it would also very nice to know the commands and work with it using the CLI.
Thanks,
Hi,
Using SSH (Enabling ssh on the host -> Configuration - > Security Profile -> Services enable ssh) you can log in via root/rootpassword you made.
After that run the following :
esxcfg-vswitch -l (for detailed vswitch information)
esxcfg-vmknic -l (for detailed VMkernel information)
Let me know if this helps.
both commands really doesn't tell me which vmkernel port is used by vmotion and management traffic.
Can we use PowerCLI instead? This is VMware's Powershell which can be downloaded here : VMware vSphere with Operations Management
Install it on vCenter and launch then type :
1. Connect-VIserver localhost
2. Get-VMHostNetworkAdapter -VMKernel |FT Name,IP,VMHost,DeviceName,ManagementTrafficEnabled,VMotionEnabled
That one liner will give you the VMkernel's along with Management/vMotion traffic status :
this is a helpful command. Thanks...