VMware Cloud Community
bernz
Enthusiast
Enthusiast
Jump to solution

Extract Host CDP Information

Hi all

It would be appreciated a lot if someone can help me provide script to extract all host CDP information for reporting and output it to excel or csv file.

Output would be this format:

DatacenterClusternameHostVMnicMACSpeedDuplexDevice IDAddressPort IDHardware PlatformVLANStatus
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Have a look at 1.  Re: Cisco Discovery Protocol

Let us know how far that brings you.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
5 Replies
LucD
Leadership
Leadership
Jump to solution

Have a look at 1.  Re: Cisco Discovery Protocol

Let us know how far that brings you.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
bernz
Enthusiast
Enthusiast
Jump to solution

I'll give a try and let you know.

Reply
0 Kudos
bernz
Enthusiast
Enthusiast
Jump to solution

Hi LucD

The script works fine, but can you add up some details to it?

DatacenterClusternameHostVMnicMACSpeedDuplexDevice IDAddressPort IDHardware PlatformVLANStatus

I already got Hostname, pNIC, PortID, Address & VLAN.

thanks much.

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Can you share the script you already have, makes it easier to add the missing info.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
kunaludapi
Expert
Expert
Jump to solution

This link will be helpful.

vGeek: Powercli Pull CDP and LLDP information in single nice table format - Part 2

vcloud-lab.com

--------------------------------------------------------------- Kunal Udapi Sr. System Architect (Virtualization, Networking And Storage) http://vcloud-lab.com http://kunaludapi.blogspot.com VMWare vExpert 2014, 2015, 2016 If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".