banner.jpg

Search

Home > Computing > Computer Certification > Cisco CCNA Exam Tutorial: Cisco Discovery Protocol (CDP)

  Cisco CCNA Exam Tutorial: Cisco Discovery Protocol (CDP)
 
The Cisco Discovery Protocol (CDP) sure looks simple enough, but there are quite a few details to know for success on the CCNA exam. In your CCNP studies, you'll be introduced to additional uses for CDP, but for now it's enough to know that CDP is designed to give you information regarding directly connected Cisco routers and switches.

CDP runs by default between all directly connected Cisco devices. CDP is also a Cisco-proprietary protocol - if the directly connected device is not a Cisco device, you won't see the information you wanted.

The basic CDP command to display information about the directly connected neighbor is "show cdp neighbor".

R2#show cdp neighbor

Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge

S - Switch, H - Host, I - IGMP, r – Repeater

Device ID Local Intrfce Holdtme Capability Platform Port ID

R1 BRI0 167 R 2521 Dialer1

This command is particularly helpful when troubleshooting Cisco switches. There’s no need to trace wiring in a rack of Cisco devices to see what routers are connected to a Cisco switch when show cdp neighbor can be used. In the above output, you can see the remote device's hostname, what interface on the remote device is connected to the local device, the capability of the remote device, the remote device’s hardware platform, and the local interface that is connected to the remote device.

CDP can be disabled at both the global and interface level. To disable CDP at the interface level, run no cdp enable on the interface, and cdp enable to turn it back on.

cdp timer defines how often CDP packets are transmitted, and cdp holdtime defines how long a device will hold a received packet.

To turn CDP off for the entire router, run no cdp run. To view the current global status of CDP, run show cdp.

R2#show cdp

Global CDP information:

Sending CDP packets every 60 seconds

Sending a holdtime value of 180 seconds

CDP is running by default.

R2#conf t

R2(config)#cdp timer 45

R2(config)#cdp holdtime 100

The CDP timers are changed.

R2#show cdp

Global CDP information:

Sending CDP packets every 45 seconds

Sending a holdtime value of 100 seconds

The CDP values have been successfully changed. “show cdp interface” will give the timer information for each interface on the router.

R2#conf t

R2(config)#interface bri0

R2(config-if)#no cdp enable

CDP is disabled on the BRI interface. This does NOT have to be done to keep the line from dialing.

R2#conf t

R2(config)#no cdp run

CDP is disabled globally.

R2#show cdp

% CDP is not enabled

CDP has been successfully disabled.

Show cdp neighbor gives you a great deal of information, but what if you need the neighbor’s IP address? Just run show cdp neighbor detail. You will get even more information about that directly connected neighbor, including its IP address.

SW2#show cdp neighbor detail

-------------------------

Device ID: R4

Entry address(es):

IP address: 172.12.23.4

Platform: cisco 2520, Capabilities: Router

Interface: FastEthernet0/4, Port ID (outgoing port): Ethernet0

Holdtime : 158 sec

The details of CDP are important to you on the job and in the CCNA exam room. When you find yourself negotiating a badly documented network, you can use CDP to "walk" through the network and create a network map for your client as well. Sometimes the simplest protocols are the most helpful!
Article Source:  http://global-in-arm.com/
  Please Rate this Article
  

New Article
CCNP Certification BCMSN Exam Tutorial: MAC Address Flooding
Technology Investments In 2007 And The Long-term Implications For Your Firm
Openoffice. A Software Solution To Enhance Your Office Productivity At No Cost.
Mp3 Music: The Killing Technology?
Your Files Are Your Knowledge Base, So How To Make Important Data Both Accessible And Secure?!
Open Iscsi San And Network Disaster Recovery
Go Wireless For Always-on Network Connections
Cisco CCNP / BSCI Exam Tutorial: Configuring And Troubleshooting OSPF Virtual Links
Certification Q&A: Types Of Certifications To Consider For Computer-Related Careers
Cisco CCNA Exam Tutorial: Cisco Discovery Protocol (CDP)
 
Old Article
Cisco CCNP / BSCI Exam Tutorial: Filtering BGP Updates With Prefix Lists
Cisco CCNP / BCMSN Exam Tutorial: Configuring PortFast And BPDU Guard
Cisco CCNA Exam Tutorial: IGRP And Equal Cost Load Balancing
Cisco CCNP / BSCI Exam Tutorial: ISIS Router Types
Cisco CCNP / BCMSN Exam Tutorial: BPDU Skew Detection
The World Of Technology Prefers A Microsoft Certified Systems Engineer (MCSE)
Cisco CCNA Certification Exam Tutorial: The OSPF RID
Cisco CCNP Certification / BSCI Exam Tutorial: ISIS Hellos And Adjacencies
Cisco CCNP Certification / BCMSN Exam Tutorial: Uplinkfast
Cisco CCNA Exam Tutorial: Split Horizon And Hub-And-Spoke Networks
Cisco CCNP / BSCI Exam Tutorial: The Passive Interface Command And OSPF
Cisco CCNP / BCMSN Exam Tutorial: The Core Layer Of Cisco's Three-Layer Model
Cisco CCNA Certification Exam Tutorial: RIP Details You Must Know
Cisco CCNP / BSCI Exam Tutorial: OSPF Route Redistribution Review
Cisco CCNP / BCMSN Exam Tutorial: Multicasting And Reserved Addresses
Cisco CCNA Certification Exam Tutorial: Variance And Unequal Cost Load Balancing
Cisco CCNP / BCMSN Exam Tutorial: Multicasting And The RPF Check
Cisco CCNA / CCNP Home Lab Tutorial: The 2503 Router
Cisco CCNA Certification Exam Tutorial: ISDN Details You Must Know
Cisco CCNP / BCMSN Exam Tutorial: Configuring CGMP On Routers & Switches
Cisco CCNA / CCNP Home Lab Tutorial: The 2501 Router
Cisco CCNP / BCMSN Exam Tutorial: Switches, QoS, And Cisco's Networking Model
Cisco CCNP / BCSI Exam Tutorial: Broadcasts And The IP Helper-Address Command
Cisco CCNP Certification / BSCI Exam Tutorial: Comparing IRDP And HSRP
Cisco CCNP Certification / BCMSN Exam Tutorial: Writing QoS Policy
Cisco CCNA Certification Exam Tutorial: Configuring Dialer Profiles
An Overview of CompTIA Certification Programs
Network+ Certification Exam Tutorial: How And When To Use Virtual LANs (VLANs)
CCNA Exam Tutorial: MAC Addressing Formats And Broadcasts
Network+ Exam Tutorial: Network Interface Cards (NICs)

Discount Hotel Reservations
Shareware, Freeware Thiet ke noi that 

Counter:
603770


Copyright © 2006 http://global-in-arm.com LLC. All Rights Reserved.

Exchange sites: Contact Us (email: redbluevn@yahoo.co.uk)