This VCDX exam note will wrap up objective 2.1 with the skills and abilities section. So, let’s jump right in.
Configure Service Console Network Using CLI
To configure a service console network you need to create a vswitch and port group first (let’s say vSwitch0 and “Service Console”)
esxcfg-vswitch -a vSwitch0esxcfg-vswitch -A "Service Console" vSwitch0
Then you need to link one or more physical nics to the vswitch (let’s say vmnic0 and vmnic2)
esxcfg-vswitch -L vmnic0 vSwitch0esxcfg-vswitch -L vmnic2 vSwitch0
Finally, you need to create the vswif interface on the vSwitch and attach it to the “Service Console” portgroup. (let’s say the IP is 192.168.0.1/24)
esxcfg-vswif -a -i 192.168.0.1 -n 255.255.255.0 -p "Service Console"
Configure VLANs
To add a VLAN to a portgroup you must create the portgroup, then you must assign a VLAN ID to the portgroup (let’s say “VMNet1″ for the portgroup, vSwitch1 for the virtual switch and 100 for the VLAN ID.
esxcfg-vswitch -A "VMNet1" vSwitch1esxcfg-vswitch -v 100 -p "VMNet1"
Configure TSO and Jumbo Frames has already been covered.
Enable Cisco Discovery Protocol
Use the -B or --set-cdp option (let’s say the virtual switch is vSwitch0)
esxcfg-vswitch -B down|listen|advertise|both vSwitch0
You will choose one of the four: down, listen, advertise, or both.
