Cisco
 Home | Free Cisco Articles | Cisco Blog | Cisco Chat Room | Links | | Contact | Privacy Policy
Cisco articles
Cisco Offers A Certification Program That Ensures Their Customers Can Always Receive Help From Technicians Who Have Proven Themselves To Be Competent In Cisco Networking Products. These Programs Are Administered Throughout The World At Authorized Cisco Centers. We're Here To Help You Prepare To Become Cisco Certified. As You Explore This Site, You'll Discover...
What You Can Expect At The Cisco Testing Center   Insider Secrets: 3 Myths About Cisco Exams   Hot: How To Earn Cisco's CCNP Certification   Here's Your Survival Guide To The Cisco Cable Jungle  

Remember... If You Are Looking For Quality Information Related To Cisco, Add This Site To Your Favorites Right Now, As We Update It Daily With The Latest News And Information Related To Cisco And Similar Topics. Enjoy The Site.

Everything You Must Know About Cisco Routers, Used Cisco Routers, Used Cisco, Cisco Training, And Cisco Certification.

Everything You Must Know About Cisco Certification!
Press  For A Message
Latest Related Articles About Cisco
Cisco CCNA Exam Tutorial: Loopback Interfaces
As a CCNA candidate, you most likely have some background in PC hardware and workstation support. If so, you're already familiar with loopback...
Continue Reading

Cisco CCNA Certification: Don't Overreact To Exam Version Changes
CCNA Certification: Don't Overreact To Exam Version Changes Whenever a Cisco exam version changes, there's always a lot of chatter about it on...
Continue Reading

Cisco CCNP/BSCI Exam Tutorial: Rip Update Packet Authentication
When you earned your CCNA, you thought you learned everything there is to know about RIP. Close, but not quite! There are some additional details...
Continue Reading

Looking For More Articles Related To Cisco?



Pix Firewall Keys
Cisco
Learn How To Master The Cisco Pix Firewall And Earn Big Bucks As A Security Expert.

Exam Sheets
Cisco
Get Leading Cert Packs That Includes Microsoft, Cisco, Oracle, Comptia , Checkpoint & Citrix.

Cisco Simulator
Cisco
Cisco Online Practice Simulator.

Cisco CCNA Exam Tutorial: Cisco Discovery Protocol (CDP)
Author: Chris Bryant

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!


About the Author:

Chris Bryant, CCIE #12933, is the owner of The Bryant Advantage (http://www.thebryantadvantage.com ), home of free CCNA and CCNP tutorials, and The Ultimate CCNA and CCNP Study Packages. For a copy of his FREE "How To Pass The CCNA" or "CCNP" ebook, visit the website and download your copies! Daily exam questions now available through RSS feed!

Source: www.isnare.com

Article Keywords:
Cisco


Google






A Quick Note From The Publisher...

If you like the article above, you may be interested in the following article which is also related to Cisco...

Cisco CCNA Certification Exam Tutorial: Prefix Notation
When you're preparing to pass the CCNA exam and earn this coveted Cisco certification, you've got to be totally prepared for the many kinds of binary and subnetting questions Cisco may throw at you. You also have to be familiar with the different manners in which a subnet mask can be expressed, and that’s where your knowledge of prefix notation comes in. Prefix notation is an alternate way to express the value of a subnet mask, as opposed to the more familiar dotted decimal format. Not only will you see prefix notation in Cisco documentation, but you’ll probably see it on your CCNA exam. Consider the following two values: 255.255.255.0 /24 Believe it or not, those two values are exactly the same. The first mask is written out in the more familiar dotted decimal format, and you know by looking at those first three octets that every bit is set to "1", since the maximum value of such an octet is 255. The second value represents the exact same mask, only this value is...
Continue Reading

 

RoutersGuide.com - All Rights Reserved. Legal Information
Featuring Information About Cisco Routers, Used Cisco Routers, Used Cisco, Cisco Training, And Cisco Certification.