8
217
•
secondary—Displays information about neighbors from the secondary
cache.
Default Configuration
If an interface ID is not specified, the command displays information for the
neighbors of all ports.
If detail or secondary are not specified, the default is secondary.
Command Mode
Privileged EXEC mode
User Guidelines
CDP supports two caches to save received CDP messages:
•
main cache
•
secondary cache
The main cache contains the full received CDP messages about limited number of
the neighbors.
The secondary cache contains partially information about all neighbors.
Use the show cdp neighbors [
cache.
Use the show cdp neighbors [
Secondary cache.
Example
show cdp neighbors
switchxxxxxx#
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
interface-id
] detail command to display the main
interface-id
] secondary command to display the
OL-32830-01 Command Line Interface Reference Guide
CDP Commands