Cisco Discovery Protocol

# CDP Management

Cisco Discovery Protocol

1. Only for cisco devices.
2. only for directly connected devices.

Main(config)#cdp run
Main(config)#exit

……………………………………………………………………………

Main#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID    Local Intrfce   Holdtme    Capability   Platform     Port ID
R-B                 Fas 1/0          169            R                 PT1000      Fas 0/0
R-A                 Fas 0/0          169            R                 PT1000      Fas 0/0
R-D                 Ser 2/0          173            R                 PT1000      Ser 2/0
R-C                 Ser 3/0          174            R                 PT1000      Ser 2/0
……………………………………………………………………………

Main#show cdp entry * protocol

Protocol information for R-B :
  IP Address: 192.168.16.66
---------------------------

Protocol information for R-A :
  IP Address: 192.168.16.2
---------------------------

Protocol information for R-D :
  IP Address: 192.168.16.194
---------------------------

Protocol information for R-C :
  IP Address: 192.168.16.130


……………………………………………..……………………….


Written by