CDP Cisco Discovery Protocol Cisco Discovery Protocol, is a Cisco proprietary protocol, it can discover the device name, port name and so on of neighboring routers or switches.
Discover neighboring devices with CDP
CDP runs on routers and Cisco switches and hubs using Cisco IOS 10.3 or later
The information that can be obtained includes:
Equipment name
Addresses corresponding to each protocol
port name
character traits
platform
Use CDP
RouterA#sh cdp ?
entry Information for specific neighbor entry
interface CDP interface status and configuration
neighbors CDP neighbor entries
traffic CDP statistics
<cr>
RouterA(config)#no cdp run
RouterA(config)#interface serial0
RouterA(config-if)#no cdp enable
Using the show cdp neighbor command
Use ping and trace commands
Router##ping 10.1.1.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms
Router#trace 10.1.1.10
Type escape sequence to abort.
Tracing the route to 10.1.1.10
1 10.1.1.10 4 msec 4 msec 4 msec
Router#
Test connectivity and path to remote equipment