
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
22-20
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 22 Show Commands
show cdp
CDP enabled on interface
Sending CDP packets every 80 seconds
Holdtime is 200 seconds
The following example displays CDP Neighbors (brief).
switch#
show cdp neighbors
Capability Codes: R - Router, T - Trans-Bridge, B - Source-Route-Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Hldtme Capability Platform Port ID
0 Gig4/1 135 H DS-X9530-SF1- Gig4/1
069038732(Kiowa2 mgmt0 132 T S WS-C5500 8/11
069038747(Kiowa3 mgmt0 156 T S WS-C5500 6/20
069038747(Kiowa3 mgmt0 158 T S WS-C5500 5/22
The following example displays CDP neighbors (detail):
switch#
show CDP neighbor detail
----------------------------------------
Device ID:Switch
System Name:
Interface address(es):
Platform: cisco WS-C2950T-24, Capabilities: Switch IGMP Filtering
Interface: mgmt0, Port ID (outgoing port): FastEthernet0/24
Holdtime: 137 sec
Version:
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(19)EA1c, RELEASE SOFTWARE
(fc2)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 02-Feb-04 23:29 by yenanh
Advertisement Version: 2
Native VLAN: 1
Duplex: full
The following example displays the specified CDP neighbor (detail):
switch#
show CDP neighbors interface gigabitethernet 4/1 detail
----------------------------------------
Device ID:0
Entry address(es):
IP Address: 209.165.200.226
Platform: DS-X9530-SF1-K9, Capabilities: Host
Interface: GigabitEthernet4/1, Port ID (outgoing port): GigabitEthernet4/1
Holdtime: 144 sec
Version:
1.1(0.144)
Advertisement Version: 2
Duplex: full
The following example displays CDP traffic statistics for the management interface:
switch#
show cdp traffic interface mgmt 0
----------------------------------------
Traffic statistics for mgmt0
Input Statistics:
Total Packets: 1148
Valid CDP Packets: 1148
CDP v1 Packets: 1148
CDP v2 Packets: 0