Configuring the Cisco Discovery Protocol (CDP) with ESX Server


Introduced with ESX 3.5, is the ability to use the Cisco Discovery Protocol (CDP).

To Configure the ESX 3.5 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
    downThe 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 neighborsCapability 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

In VI Client, got o Configuration tabm then click on Networking:

 

 

Source: vmware.com and vmetc.com

Advertisements

About PiroNet

Didier Pironet is an independent blogger and freelancer with +15 years of IT industry experience. Didier is also a former VMware inc. employee where he specialised in Datacenter and Cloud Infrastructure products as well as Infrastructure, Operations and IT Business Management products. Didier is passionate about technologies and he is found to be a creative and a visionary thinker, expressing with passion and excitement, hopefully inspiring and enrolling people to innovation and change.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s