Specifications
2-535
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
show cdp neighbors
show cdp neigh bors
To display detailed information about the neighbo ring devices that are discovered throug h CDP, use the
show cdp neighbors command.
show cdp neighbors [type number] [detai l]
Syntax Description
Defaults This command has no default settings.
Command Modes Privileged EXEC mode
Usage Guidelines The vlan keyword is supp orted in Catalyst 4500 series swit ches that are configur ed with a Supervisor
Engine 2.
The port-channel values are from 0 to 282; values f rom 2 57 to 282 are support ed on th e CS M and t he
FWSM only.
Examples This example shows how to display the information about the CDP neighbors:
Switch# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
lab-7206 Eth 0 157 R 7206VXR Fas 0/0/0
lab-as5300-1 Eth 0 163 R AS5300 Fas 0
lab-as5300-2 Eth 0 159 R AS5300 Eth 0
lab-as5300-3 Eth 0 122 R AS5300 Eth 0
lab-as5300-4 Eth 0 132 R AS5300 Fas 0/0
lab-3621 Eth 0 140 R S 3631-telcoFas 0/0
008024 2758E0 Eth 0 132 T CAT3000 1/2
Switch#
type (Optional) Interface type that is connected to the neighbors about which you
want information; possible valid values are ethernet, fastethernet ,
gigabitethernet, tengigabitethernet, port-channel, and vlan.
number (Optional) Interface number that is connected to the neighbors about which
you want information.
detail ( Optional) Displays detailed information about a neighbor (or neighbors)
including network address, enabled protocols, hold time, and software
version.