

To enable or disable Lockdown mode from the vSphere Web Client: Browse to the host in the vSphere Web Client inventory. You can read more about this process here. Press Enter to toggle the Configure Lockdown Mode setting. An uplink from the dvSwitch will be moved to the new standard vSwitch. When you select this option, a new standard vSwitch will be created on the host, with a new vmkernel interface to which an IP can be assigned. It may be that you need to fix issues with the dvSwitch, but need to restore host connectivity in the meantime. You may need to run this if you are having problems with the dvSwitch an this is causing a loss of connectivity to your hosts management network. This option will be greyed out unless your management network is connected to a dvSwitch. There is also the option available to ‘Restore Standard Switch’. Choosing this option will stop all running virtual machines on the host. The Restore Network Settings option allows you to restore the management network settings by configuring the management network with system defaults.

The other DCUI option I wanted to mention was the Network Restore options:
#HOW TO ENABLE DCUI ON VMWARE ESXI 6.7 PLUS#
At the 'Certificates' tab, click the green plus sign to import trusted certificate authority certificates and click 'OK'. You will be asked for confirmation before the config is reset though, in case you are too hasty: From the vSphere Client, select the ESXi host and go to Configure > System > Authentication Services, click 'Edit', and check the 'Enable Smart Card Authentication' checkbox. If you select this option, it will reset the host back to it’s default configuration, removing all network configuration etc as a consequence. The reset option is available on the main DCUI screen, and is self explanatory:

Login to the DCUI (to enable the ESXi Shell if not already done) Login with root and the correct password. If a login shows up continue with step 3, otherwise continue with step 2. At the console press CTRL+ALT+F2 to get to the ESXi shell.
