facebooktwitteryoutube
Home About Contact VCP Virtual Home Lab VCP6 Study Guide VCAP-DCV Deploy Study guide
in blueprint - 11 Jun, 2016
by mordi - one comment
VCAP-DCV Deploy Objective 3.4

In this post we will continue to discuss VMware networking and now it time for troubleshoot a vSphere 6.x network implementation

Here are the objectives from the blueprint that i am going to cover:

  • Perform a vDS Health Check for teaming, MTU, mismatches, etc.
  • Configure port groups to properly isolate network traffic
  • Use command line tools to troubleshoot and identify configuration issues
  • Use command line tools to troubleshoot and identify VLAN configurations
  • Use DCUI network tool to correct network connectivity issue

Lab Setup:

Using VMware workstation:

  • Microsoft Servers 2012R2 for Services (DNS , DHCP, etc…)
  • installed esx0
  • Installed VCSA

 Documents used:

  • vSphere 6 Networking Guide
  • vSphere Command-Line Interface Concepts and Examples

Perform a vDS Health Check for teaming, MTU, mismatches, etc:

To enable Health check on the vDS , click on the vDS>>Action>>Setting>>Edit Health Check. You can enable both options

h_Check1

Once enable you can monitor the health status by clicking on the vDS>>Monitor >> Health

h_Check2

Configure port groups to properly isolate network traffic:

i am not sure what this subject is here , we already configure port groups many time include in the VLAN section so i think we cover this subject. Also you can look at my VCP blog about all the settings for port groups

VCP6-DCV blueprint section 2:Configure and Administer Advanced vSphere 6.x Networking– Objective 2.1 – Part 3

Use command line tools to troubleshoot and identify configuration issues:

We already cover this in the previous post for vSS and vDS but here is a summary :

  • To get information about your interfaces  run: esxcli network ip interface list
  • To get information about your VMkernel IP configuration run: esxcli network ip interface ipv4 get 
  • To get information about the connection to the host (something like Linux netstat) run: esxcli network ip connection list
  • To list your virtual Switches and their configuration run: esxcli network vswitch standard list
  • To list the network policy settings (security policy, traffic shaping policy, and failover policy) run the following commands:
    • esxcli network vswitch standard policy failover get -v vSwitch0
    • esxcli network vswitch standard policy security  get -v vSwitch0
    • esxcli network vswitch standard policy shaping get -v vSwitch0
  • To list Distributed Switch configuration – esxcli network vswitch dvs vmware list 
  • To list vmkernel interfaces and their configuration – esxcli network nic list  
  • To list physical adapters and their link state – esxcli network ip interface list

 

Use command line tools to troubleshoot and identify VLAN configurations:

You can use the following command to see port group and VLAN information  : esxcli network vswitch standard portgroup list 

vlan_cli1

You can also use the esxcfg-vswitch -l command 

vlan_cli2

To change the VLAN ID on a portgroup, run the command: esxcfg-vswitch -p “portgroup_name” -v VLAN_IDvirtual_switch_name

or run this command esxcli network vswitch standard portgroup set -p portgroup –vlan-id VLAN

 

Use DCUI network tool to correct network connectivity issue:

Using DCUI you can do the following in regards to networking:

Test the management network:

DCUI3

Reconfigure management network:

DCUI5

Restart management network:

DCUI4

Restore  vDS/vSS configuration

DCUI

Thanks for reading

Mordi.

 

Leave a Reply

  • Dennis //09 Jul 2016

    Hello Mordi,

    these two lines are not correct:
    To list vmkernel interfaces and their configuration – esxcli network nic list
    To list physical adapters and their link state – esxcli network ip interface list