Support > Knowledge Base
Knowledge Base

Search the Knowledge Base: |
Search the Knowledge Base: |
Configuring the Cisco Discovery Protocol (CDP) with ESX Server
Details
Solution
To Configure the ESX 3.5 host:
-
Log in as root to the Service Console (via SSH, remote console, or physical console).
-
Verify the current CDP setting for the desired virtual switch (vSwitch1, in this example).
[root@server root]# esxcfg-vswitch -b vSwitch1
down
The output of down indicates CDP is currently not implemented
-
Set the CDP status for a given virtual switch. Possible values here are down, listen, advertise, or both.
[root@server root]# esxcfg-vswitch -B both vSwitch1 -
Verify the new setting:
[root@server root]# esxcfg-vswitch -b vSwitch1
both
The following is 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
Keywords
Actions
- KB Article: 1003885
- Updated: Aug 14, 2009
- Products:
VMware ESX - Product Versions:
VMware ESX 3.5.x

