vDCA550-Objective 2.2-4-Analyze command line output to identify vSS and vDS configuration details

Commands can also be used to analyze details of existing vSS and vDS. For example, to list all vSS and vDS, use these commands: 

    #esxcli network vswitch standard list   

   #esxcli network vswitch dvs vmware list

With the list command you can check the properties of different object in Virtual Switch than you can analyze the settings and see if there is any problem exists. For the sake for example let’s say you have ISCSI and NFS in your environment and it giving you the poor performance and one of the setting exist in Virtual Switch which is called jumbo frame. You can use the list command to check the Jumbo frame setting on your vSwitch and make sure MTU Size it should be 9000.

To check the MTU Size of Virtual switch

#esxcli network vswitch standard list –v vSwitch1


Similarly when you have more 120 VMs in your environment and you are using vSS with default settings for connectivity then you might have problem with some VMs connectivity it is because default vSwitch is configured with 120 Ports and every VM with one Virtual NIC is connected to one port. According to your VMs numbers and your vSwitch Port numbers. Your VMs count is greater than your Virtual NIC ports count which leads you the connectivity problem. You can use list command check the available and used ports on the vSwitch and then change it as required. Obviously you need to reboot the ESXi host if you will change the ports setting of your virtual Switch.

To check the Used/Configured Port of a Virtual switch

#esxcli network vswitch standard list –v vSwitch1


You can list the properties of the vDS using list command in esxcli. Below is an example.

#esxcli network vswitch dvs vmware list



Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s