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.
VDCA510 Objective: 2.1 Implement and Manage Complex Virtual Networks
VDCA550 Objective: 2.1 Implement and Manage Virtual Standard Switch (vSS) Networks
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