Using Cisco Discovery Protocol (CDP)

The Cisco Discovery Protocol (CDP) provides a protocol-independent method for testing direct connectivity, that is, those routers who are your neighbors. This means it will collect information, regardless of whether the neighbor router supports IP, IPX, DECnet, etc. CDP is a layer two Cisco-proprietary protocol that provides information on directly connected neighbors. CDP uses data-link broadcasts to discover neighboring Cisco routers that also run CDP. The results will show you your neighbor’s device ID, local port number, holdtime (in seconds), network device capability, hardware platform, and remote port type and number. The command show cdp interface displays CDP con.guration and status information.