To enable CDP on a vNetwork Distributed Switches (vDS) installed on an ESX Server:
-
Connect to vCenter Server using the vSphere Client.
-
In the vCenter Server home page, click Networking.
-
Right-click vDS and click Edit Settings.
-
Go to Properties and select Advanced. Select the options to set the CDP settings.
Example
An example of configuring CDP for a Cisco 6500 physical switch:
switch# switch# config terminal switch(config)# cdp run switch(config)# interface g1/1 switch(config-if)# cdp enable switch# show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID pa-tse-h24.pasl.vmware.com Gig 1/1 121 S VMware ESXvmnic2 pa-tse-h24.pasl.vmware.com Gig 1/2 121 S VMware ESXvmnic3