search the web

Monday, October 5, 2015

Cisco Discovery Protocol

Cisco Discovery Protocol

CDP or cisco discovery Protocol is the protocol used for gathering information about the cisco devices on the network.
CDP is cisco proprietary which means that it works on cisco devices only.
Enabling CDP on a cisco device enables its neighbors to gather information about that device. Each and every cisco switch or router sends cdp information also called CDP advertisement to the neighboring devices which contains the information about that device at each specific intervals. meaning the routers or switches are doing cdp advertisement after every 60 seconds by default. There are four main commands which are:

show cdp neighbor
show cdp entry
cdp run
cdp enable


BB Router
conf t
cdp run
no cdp run
This command enables or disables cdp globally.

int s1/1
cdp enable
no cdp enable
This command enables or disables the cdp on per interface bases.
exit
exit
show cdp neighbors
!shows the directly connected neighbors and all their information.
show cdp entry {DEVICE-ID}
!shows informatin about a specific device.

for initial configuration of Router, switch or AP visit link below
initial configuration of Router, Switch or AP

No comments: