At a times you want quickly find out what other switches connected to your core switch and what interfaces they are connected.
These commands can be used to display the remote switches information.
HP-Core# show cdp neighbors – will display connected switches ports, MAC addresses, system, and capabilities of the connected switches.
HP-Core# show cdp neighbors detail – is similar to “show cdp neighbors” with details such as remote switch IP if applicable.
HP-Core# show lld info remote-device – will show you similar information
HP-Core# show lld info remote-device 24 – will show you the information of the switch connected on port 24 in details (IP, MAC, local, model, software, description, etc).