In this series I want to demonstrate how to work with ESXCLI command line tools to manage and troubleshoot ESXi network configuration. Now let's start step by step, first of all respect to NIC status I want to explain about them and related syntax:
1. To list all of the physical interfaces (pNICs) belong to that host and give more information about them:
esxcli network nic list
2. Detail information about an specific pNIC:
esxcli network nic get -n vmnic0
3. Software details include VLAN Tagging and VXLAN encapsulation:
esxcli network nic software list
4. Return sent / received rate of packet in the VLAN associated to that pNIC:
esxcli network nic vlan stats get -n vmnic0
5. Configure pNIC attributes include Speed, Wake-on-LAN settings, Duplexity and so on:
esxcli network nic set -n vmnic0 -S 1000 -D full
6. Sort list of connected VMs and their associated:
esxcli network vm list
7. Retrieve details of connected ports of a VM with (-world ID) include vSwitch, Port Group, IP and MAC addresses and related Uplink:
esxcli network vm port list -w 136666
8. Detail information about Distributed vSwitches that are associated to the Host:
esxcli network vswitch dvs vmware list
In the next post I will show you how to work with ESXCLI in networking in a new video series.
No comments:
Post a Comment