Scenario 4

< Back | Next>

Scenario:

Scenario – As an alternative to host profiles, you are considering developing a script that can be used to deploy a standard configuration for your ESXi hosts. As part of this effort, you want to develop a set of ESXCLI commands that can be run in the ESXi Shell to create and configure a standard virtual switch.

Requirements:

Environment Information:

VDCA510 Objective: 2.1 Implement and Manage Complex Virtual Networks
VDCA550 Objective: 2.1 Implement and Manage Virtual Standard Switch (vSS) Networks

Guide Reference(s):

 

Click Here For Solution

 

Solution

esxcli network vswitch standard add -P 256 -v vSwitch3
esxcli network vswitch standard uplink add -u vmnic3 -v vSwitch3
esxcli network vswitch standard portgroup add -p Port-201 -v vSwitch3
esxcli network vswitch standard portgroup set -p Port-201 -v 201
esxcli network vswitch standard policy security set -f false -m false -p false -v vSwitch3