Network Access

An engineer must see the platform and the remote port ID of every directly connected Cisco device on a switch, but wants no IP addresses of the neighbors. Which command gives neighbor platform and remote port in one summary table?

Show the answer

Correct answerA. show cdp neighbors

AWhy this is right: The summary table shows device ID, local interface, holdtime, capability, platform and port ID, with no IP addresses.

BWhy not this: It only shows LLDP frame counters, not neighbor platform or port information.

CWhy not this: The detail form adds IP addresses and IOS version, so it shows more than the engineer wants.

DWhy not this: It shows CDP status, timers and encapsulation per interface, not the neighbors themselves.

show cdp neighbors lists each neighbor with its local interface, holdtime, capability, platform and remote port ID in a single table, without IP addresses. The detail form adds the neighbor's IP address and software version, which the engineer did not want.