To see this information, use the show cdp command: show cdp neighbors
Platform: The IOS version running on the device.Capabilities list: Device type (for example, router or switch).Port identifier: The interface on the remote device that sent the CDP advertisement.Address list: Network and data link addresses.CDP discovers several useful details from neighboring Cisco devices: Therefore, Cisco hardware that supports CDP can learn about other devices by listening for these messages. This is possible because Cisco routers and switches routinely send out CDP messages that announce information about themselves. The Cisco Discovery Protocol (CDP) discovers basic information about neighbor routers and switches without needing to know the passwords for those Cisco network devices.
Let’s review them and see which issues they can help you investigate. There are various tools that can help with network troubleshooting.