Show & diagnostics
show cdp neighbors [detail]
List directly-connected neighbours discovered via CDP. 'detail' adds their IP and platform.
Works on: Router, SwitchMode: enable
Watch out
CDP is on by default. 'no cdp run' globally disables it.
Run this command live
Don't just read it — type show cdp neighbors [detail] in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "show cdp neighbors [detail]" command do?
List directly-connected neighbours discovered via CDP. 'detail' adds their IP and platform.
What's the common gotcha with "show cdp neighbors [detail]"?
CDP is on by default. 'no cdp run' globally disables it.