VMware Cloud Community
sbeaver
Leadership
Leadership

Workflow to get CDP information from the host physical nic

Greeting all,

I am looking to see if anyone has any workflows they can share that will get CDP information from a host physical nic to pull the switch and port information

Thanks

Steve

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos
2 Replies
tschoergez
Leadership
Leadership

Hi Steve,

I don't have a vro workflow, but here is some example in perl:

vghetto-scripts/cdp.pl at master · lamw/vghetto-scripts · GitHub

and in PowerCli:

http://www.amikkelsen.com/?p=592

and http://www.jonathanmedd.net/2013/07/obtaining-cdp-info-via-powercli.html   ... line 62++ here should be quite easy transferable to vRO javascript.

Regards,

Joerg

0 Kudos
sbeaver
Leadership
Leadership

Thanks Joerg,

I will take a look now just did not want to reinvent the wheel if I did not have to.

thanks for the reply

Cheers!

Steve

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos