| hsmaia 2002-04-26, 9:13 pm |
| Hi, Cisco
CDP, Cisco Discovey Protocol, was developed by Cisco to collect info about neighbor devices.
sh cdp
RouterB#show cdp
Global CDP information: Sending packets every 60 seconds Sending a holdtime value of 180 seconds.
Packets sent out to every active interface every 60 seconds (default) (You can change the CDP update frequency, using the "cdp timer" command from config mode.)
sh cdp interface
RouterB#show cdp interface
The output will show the interface information plus the encapsulation (default encapsulation used by the interface)
Also shows the 60-second update timer and 180-second holdtime.
show cdp entry
Shows CDP information received from all routers
RouterB#show cdp entry ?
* all CDP neighbor entries
WORD Name of CDP neighbor entry
RouterB#show cdp entry *
RouterB#show cdp entry RouterC
entry * will show all RouterB connected neighbors: ip addresses, Novell addresss, interfaces, holdtimes, etc.
entry RouterC: shows only info from RouterC.
show cdp neighbors: shows information about all connected neighbors.
RouterB#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Spource router bridge, S - Switch, H - Host, I - IGMP, r- repeater
Device ID Local Interface Holdtime Capability Platform Port ID
RouterC Ser 1 160 R 2500 Ser 0
Router A Ser 0 156 R 2500 Ser 0
sh cdp neighbors detail gives the same output as show cdp entry *
Hope it helps
HDM |