VMware
13 Replies Last post: Nov 18, 2009 12:01 PM by justingrote  

Use LLDP as well as CDP in VI Client's Network Details view posted: Mar 11, 2008 8:11 AM

Click to view gclinch's profile Novice 12 posts since
Feb 3, 2006
Unfortunately our environment does not support Cisco's proprietary discovery protocol CDP, but all our edge devices do support the vendor-neutral protocol LLDP - it'd be really nice if the VI client's display of networking details could be extended to include details from LLDP as well as CDP.

Graham
Click to view Regis A. Despres's profile Lurker 1 posts since
May 14, 2008
Same here, we'd love being able to use LLDP =)
Click to view wholmes's profile Novice 20 posts since
Jan 19, 2008
I agree, add LLDP support. HP and Juniper switches only support LLDP, and even Cisco is moving towards LLDP.
Click to view iguy's profile Hot Shot 306 posts since
Nov 16, 2004
Hear Hear.
Click to view gcccd's profile Lurker 1 posts since
Jul 16, 2007
Our HP ProCurve environment supports LLDP - and has been dropping support for Cisco CDP v1 on some switches and has no support for the Cisco proprietary CDP v2 . Support for LLDP would be an outstanding feature for the many non-Cisco environments.
Click to view atropa's profile Lurker 5 posts since
Mar 17, 2008
This would definitely be a good enhancement. As many of our clients have Procurves or other LLDP compliant switches, as are Cisco shops.
Click to view jobl's profile Enthusiast 47 posts since
May 10, 2005

Sorry for bringing an old thread to life.. but I and several of my customers would LOVE this!


Click to view officeglen's profile Novice 15 posts since
Dec 8, 2005

The vSphere 4.0 API has a setting to toggle the LinkDiscoveryProtocol and there are two valid options, one is CDP and the other is LLDP. Does anyone know how to change that value?

https://vmw.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.LinkDiscoveryProtocolConfig.ProtocolType.html#lldp


Click to view unitn's profile Lurker 3 posts since
Nov 30, 2005
Sarò fuori ufficio fino al 06 luglio compreso. Vi chiedo pertanto di inoltrare le richieste urgenti all'indirizzo gestionesistemi@amm.unitn.it<mailto:gestionesistemi@amm.unitn.it
Click to view touimet's profile Enthusiast 38 posts since
Feb 21, 2006

Hello!

Has anyone mastered the LLDP with vSphere? Is it possible? Would love to have the feature.

Thanks

Click to view officeglen's profile Novice 15 posts since
Dec 8, 2005
Nope, nothing yet from me.

Funny this is that at VMworld last year I actually saw LLDP in the UI next to the option to enable CDP. It was nice and easy in the beta, I'm not sure why they made it so hard now.

<Conspiracy Theory> Maybe Cisco made them take it out! </Conspiracy Theory>
Click to view afidel's profile Lurker 4 posts since
Aug 19, 2009
This would be most useful for those of us with newer Procurves that will do LLDP but not CDP.
Click to view ArsonSmith's profile Novice 13 posts since
Oct 4, 2007
Yes, converting to Juniper networking switches, LLDP would be very nice.
Click to view justingrote's profile Novice 9 posts since
Mar 31, 2007
I created a Powershell Script to attempt to set the LLDP property mentioned, and I got a "The Operation is not supported on the object." This is on Enterprise Plus, and setting the cdp options for the same variables work fine.

So, looks like this is definitely in the works, but it's been disabled probably because it just wasn't stable enough or something. Here's hoping Update 1 or Update 2 will enable it.

FYI, here's the script for reference:

$vcenter = connect-viserver vcenter

##function set-vSwitchLinkDiscovery {

#Variables
$vSwitchName = "vSwitch0"
$linkProtocol = "lldp"
$linkOperation = "both"
$VMHost = "myhost"

#Get the specification for the vSwitch
$networkview = (get-vmhostnetwork -vmhost $VMHost | get-view)
$vSwitchSpec = ($networkView.NetworkConfig.vSwitch | Where {$_.Name -eq $vSwitchName}).Spec

#Set Protocol Type and Operation
$vSwitchSpec.Bridge.LinkDiscoveryProtocolConfig.protocol = "lldp"
$vSwitchSpec.Bridge.LinkDiscoveryProtocolConfig.operation = "both"

#Commit Changes
$networkview.updateVirtualSwitch($vSwitchName,$vSwitchSpec)

##}

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Incoming Links

Communities