Skip to content


Enabling CDP on vSwitches

CDP (Cisco Discovery Protocol) is enabled in listen-only mode by default. To also broadcast CDP information to the switches, run the following command for each vSwitch on the host:

To check CDP status:

  • esxcfg-vswitch -b vSwitch1

To set CDP to both listen and broadcast:

  • ESXi 4.x: esxcfg-vswitch -B both vSwitch1
  • ESXi 5.x: esxcli network vswitch standard set –c both –v vSwitch1
Repeat for all vSwitches.

VMware KB 1003885: Configuring the Cisco Discovery Protocol (CDP) with ESX/ESXi

Posted in Uncategorized.

Tagged with , , , .

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

Spam Protection by WP-SpamFree