1266
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter Show Commands
show cdp entry
show cdp entry
To display the interfaces in the Cisco Discovery Protocol (CDP) database, use the
show cdp entry
command.
show cdp entry
{
all
|
name
device-name
}
Syntax Description
Command Default
None
Command Modes
EXEC mode
Command History
Examples
This example shows how to display all the entries in the CDP database:
switch#
show cdp entry all
----------------------------------------
Device ID:sw-sw70
Interface address(es):
IPv4 Address: 192.0.2.70
Platform: WS-C3560E-48T, Capabilities: Switch IGMP Filtering
Interface: mgmt0, Port ID (outgoing port): GigabitEthernet0/30
Holdtime: 162 sec
Version:
Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(50)SE2,
RELEASE SOFTWARE (fc2)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 15-May-09 22:11 by nachen
Advertisement Version: 2
Native VLAN: 88
Duplex: full
Mgmt address(es):
IPv4 Address: 192.0.2.70
----------------------------------------
Device ID:switch(FOC16333ZER)
System Name: switch
Interface address(es):
IPv4 Address: 192.0.2.192
Platform: N6K-C6004-96Q, Capabilities: Switch IGMP Filtering Supports-STP-Disput
all
Displays all interfaces in the CDP database.
name
device-name
Displays a specific CDP entry matching a name. The device name can be a
maximum of 256 alphanumeric characters.
Release
Modification
5.2(1)N1(1)
This command was introduced.