omnisecu.com free mcse ccna rhce linux java learning  
Home Knowldege Base FAQ Contact Us Sitemap
omnisecu.com free mcse ccna rhce linux java learning  
omnisecu.com free mcse ccna rhce linux java learning
Home » Knowledge Base » Cisco Certified Network Associate (CCNA) » Important Cisco Discovery Protocol (CDP) IOS commands
 

Important Cisco Discovery Protocol (CDP) IOS commands

 

If you are familair with Cisco Discovery Protocol (CDP), click the following link to know what is Cisco Discovery Protocol (CDP)

Important Cisco Discovery Protocol (CDP) IOS commands are listed below.

To see the summary of Cisco device neighbors, run the "show cdp neighbors" IOS command from privilege mode.

 

omnisecu.com.router01#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
omnisecu.com.router02
Ser 0/0 156 R C2600 Ser 0/0
omnisecu.com.switch01
Fas 0/0 149 S 2950 Fas 0/1
omnisecu.com.router01#

 

To see the detailed information of Cisco device neighbors, run the "show cdp neighbor detail" IOS command from privilege mode.

 

omnisecu.com.router01#show cdp neighbor detail

Device ID: omnisecu.com.router02
Entry address(es):
IP address : 172.17.0.2
Platform: cisco C2600, Capabilities: Router
Interface: Serial0/0, Port ID (outgoing port): Serial0/0
Holdtime: 143

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang

advertisement version: 2
Duplex: full
---------------------------

Device ID: omnisecu.com.switch01
Entry address(es):
Platform: cisco 2950, Capabilities: Switch
Interface: FastEthernet0/0, Port ID (outgoing port): FastEthernet0/1
Holdtime: 136

Version :
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 18-May-05 22:31 by jharirba

advertisement version: 2
Duplex: full

omnisecu.com.router01#

 

To view the Cisco Discovery Protocol (CDP) configuration on interface, run the "show cdp interface" IOS command from privilege mode.

 

omnisecu.com.router01#show cdp interface
FastEthernet0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
FastEthernet0/1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/0 is up, line protocol is up
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
Serial0/1 is administratively down, line protocol is down
Sending CDP packets every 60 seconds
Holdtime is 180 seconds
omnisecu.com.router01#

 

To see the status of Cisco Discovery Protocol (CDP) on your Cisco device run the "show cdp" IOS command from privilege mode.

 

omnisecu.com.router01#show cdp
Global CDP information:
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
Sending CDPv2 advertisements is enabled

 

 
 
eXTReMe Tracker
back
next
 
Disclaimer | Feed Back | Trademarks | Knowledge Base | FAQ | Sitemap | Downloads