Register   |   Login   |   February 08, 2012    |   Knowledge Base  >  Knowledge Base Systems  >  Virtualization  >  Enable CDP on ESX
search:     

Phone: 480-722-1227
Toll Free: 888-722-1227

Enable CDP on ESX
Last Post 29 May 2010 04:04 PM by Vigilant CIO. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Vigilant CIOUser is Offline
Basic Member
Basic Member
Posts:360

--
29 May 2010 04:04 PM  
Ref link; kb.vmware.com/kb/1003885

To configure the ESX host:

1.Log in as root to the Service Console (via SSH, remote console, or physical console).


2.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.


3.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


4.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:
1.switch#
2.switch# config terminal
3.switch(config)# cdp run
4.switch(config)# interface g1/1
5.switch(config-if)# cdp enable
6.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
You are not authorized to post a reply.

Active Forums 4.2
Copyright 2006 - 2011 Vigilant Support   |  Privacy Statement  |  Terms Of Use