Posts Tagged ‘CDP’

VMware: How to Enable CDP On ESX3.X Host

August 6th, 2009 5 comments

VMWare has made CDP (Cisco Discovery Protocol ) available to their host.

When you the CDP is running on router/switch where the physical network card is connected it provide information to both Network administrator and ESX admin about host name/network card. This information help when you are trying to figure out which network card on the host is connected to which physical switch


B|–set-cdp          Set the CDP status for a given virtual switch.
                        To set pass one of “down”, “listen”, “advertise”, “both”

On this ESX host we got 3 vSwitches, you need to enable the CDP feature for each vSwitch like (putty or console):

[[email protected] root]# esxcfg-vswitch -B both vSwitch0
[[email protected] root]# esxcfg-vswitch -B both vSwitch1
[[email protected] root]# esxcfg-vswitch -B both vSwitch2


Now in vCenter 2.5 you see the Configuration > Networking > vSwitches, in te little comment box you can click:

Read more…


Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:

Categories: Cisco, VMware Tags: , , ,