Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Enabling CDP/LLDP on vSwitches

Complete the following steps to enable CDP/LLDP on virtual switches (vSwitches).

  1. Login as root to the ESX/ESXi Host.
  2. Use the following command to verify the current CDP/LLDP settings.
    [root@server root]# esxcfg-vswitch -b vSwitch1
  3. Use the following command to enable CDP/LLDP for a given virtual switch. Possible values here are advertise or both.
    [root@server root]# esxcfg-vswitch -B both vSwitch1