VCAP-DCV Deploy Objective 3.1

Home / blueprint / VCAP-DCV Deploy Objective 3.1

We are now in the third section of the blueprint , this section is the Networking part and in the following posts we are going to discuss how we Deploy and Manage a vSphere 6.x Network Infrastructure

We are going to discuss the following objective from the blueprint :

  • Create and manage vSS components according to a deployment plan:
    • VMkernel ports on standard switches
    • Advanced vSS settings
  • Configure TCP/IP stack on a host
  • Create a custom TCP/IP stack
  • Configure and analyze vSS settings using command line tools

Lab Setup:

Using VMware workstation:

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

 Documents used:

  • vSphere 6 Networking Guide

Create and manage vSS components according to a deployment plan:

To create vSS via the GUI click on the Host >>Manage>>Networking>> Virtual switches>>Add host networking icon

Select Virtual Machine Port Group for a Standard Switch:


You can choose any option but i will start with the port Group


Select New standard Switch


add the vmnic


Label the network




VMkernel ports on standard switches:

Now lets add VMkernel port for the newly created switch (vSwitch1)

Click on Add host networking icon and choose VMKenel Network Adapter


Select the switch (vSwitch1)


Label the VMkernel


Configure IP for the VMkernel




Advanced vSS settings:

To configure vSS settings: click on the vSwitch and then click pencil icon you will be able to configure the followings:

  • MTU
  • Security settings (Promiscuous mode , MAC address changes and Forged transmit)
  • Traffic shaping
  • Teaming and failover



Configure TCP/IP stack on a host:

You can change the DNS and default gateway configuration of a TCP/IP stack on a host. You can also change the congestion control algorithm, the maximum number of connections, and the name of custom TCP/IP stacks

Click on the host >> Manage>>Networking>> TCP/IP configuration



Create a custom TCP/IP stack:

To create a custom stack we will need to use the CLI and than we can edit it via the GUI.

Run the following command to create new stack :  esxcli network ip netstack add -N=”stack_name” ( In the pic below i created a test stack)


Configure and analyze vSS settings using command line tools:

Now lets have some fun with the CLI. in this section we will cover the following task:

  • Retrieving Basic Networking Information


Retrieving Basic Networking Information:

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



Creating and configuring vSS using the CLI.

here are the steps we are going to perform:

  • List the existing switches: esxcli network vswitch standard list
  • Create vSwitch : esxcli network vswitch standard add –vswitch-name=vcap_deploy –ports=10
  • Create PortGroup : esxcli network vswitch standard portgroup add –portgroup-name=TestDev –vswitch-name=vcap_deploy
  • Assign Uplink: esxcli network vswitch standard uplink add –uplink-name=vmnic1 –vswitch-name=vcap_deploy
  • Connect the portgroup to vmnic : esxcli network vswitch standard portgroup policy failover set –active-uplinks=vmnic1 –portgroup-name=TestDev
  • Config VMkernel:  esxcli network ip interface add –interface-name=vmk1 –portgroup-name=TestDev
  • Config : esxcli network ip interface ipv4 set -t static –ipv4= –netmask= –interface-name=vmk1
  • Config MTU: esxcli network vswitch standard set –mtu=9000 –vswitch-name=vcap_deploy
  • Config CDP: esxcli network vswitch standard set –cdp-status=listen –vswitch-name=vcap_deploy
  • list the switches: esxcli network vswitch standard list


and the GUI view:



Thanks for reading





Leave a Reply

Your email address will not be published. Required fields are marked *