![Cisco Small Business 300 1.1 Series Administration Manual Download Page 694](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294694.webp)
CDP Commands
78-20269-01 Command Line Interface Reference Guide
696
45
45.19 show cdp neighbors
The show cdp neighbors Privileged EXEC mode command displays information
about neighbors kept in the main or secondary cache.
Syntax
show cdp neighbors [
interface-id
] [detail | secondary]
Parameters
interface-id—Displays the neighbors attached to this port.
detail—Displays detailed information about a neighbor (or neighbors) from the
main cache including network address, enabled protocols, hold time, and software
version.
secondary—Displays information about neighbors from the secondary cache.
Default Configuration
If interface-id is not specified, the command displays information for neighbors of
all ports.
If detail or secondary are not specified, the default is secondary.
Command Mode
Privileged EXEC mode
Example
switch#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater,
P - VoIP Phone,M - Remotely-Managed Device,
C - CAST Phone Port, W - Two-Port MAC Relay
Device ID Local Interface Adver ver TimeToLive Capability Platform
Port ID
lab-7206 fa 1 2 157 R 206VXR fa 0
lab-as5300-1 fa 1 2 163 R AS5300 fa 0