fbpx
Dec 08

CDP, Important Commands and Its Use

CDP

Cisco Discovery Protocol (CDP) is a Cisco trademark protocol that is designed to assists the network management of Cisco devices by collecting hardware and software information about the neighboring devices. The network engineers can discover information about neighbor networking devices, determine the type of software version, type of equipment used, interfaces on the device currently active, how they are configured, and other useful information. This information is important when you need to troubleshoot and document network functionality. When you get hired as a Network administrator and are new to the network, the CDP becomes very useful to know about your neighboring devices, their parameters, and other configuration details.

CDP works as a data link layer protocol and uses Subnetwork Access Protocol (SNAP) frame type. SNAP is limited to few media types like Ethernet, Fiber distributed data interfaces(FDDI), Asynchronous Transfer Mode(ATM), Point-to-Point Protocol(PPP), High-Level Data Link Control(HDLC), Token Ring, and Frame Relay. So, CDP also becomes limited to these media types supporting SNAP. CDP frames are distributed as multicasts but are not routed across the device as it is a 2nd layer protocol.

CDP message frame contains useful information about the network device mentioned below:

  • IOS version number
  • Hardware capabilities
  • Hardware platform
  • IP address of the device
  • Interface detail of the device that generates the CDP message
  • The port ID
  • Time period the CDP advertisement message is valid. CDP messages are generated in every 60 secs and the holddown time to discover its neighbor is 180 secs.
  • Device with the hostname
  • Type of Device

CDP commands used to monitor the router and network is mentioned in the following:

  1. cdp enable, no cdp enable – It is used to enable CDP on the interface in the interface configuration mode. The cdp is enabled by default at the global level on all the supported interfaces. Use “no cdp enable” in the interface configuration mode to disable cdp on the interface.
  2. cdp run, no cdp run – The cdp is always enabled at the global level but due to some reason if it has been disabled, then you can enable it globally by using “cdp run” command in the global configuration mode. To disable cdp at the global level use “no cdp run” command.
  3. cdp timer – It is a global command used to change the default time settings for the CDP timer on the router.
  4. cdp hold time – It is a global command used to change the default time settings for the Holdtime timer on the router.
  5. show cdp neighbors – It displays information about the neighboring network devices.
  6. show cdp neighbors detail – It shows detailed information about the neighboring network devices.
  7. show cdp entry – It works the same as the “show cdp neighbors” command and displays information about neighboring devices.
  8. show cdp entry [device name] – It shows information about the device as specified.
  9. show cdp interface – It shows cdp status on router interfaces.
  10. show cdp traffic – It shows cdp traffic information.
  11. clear cdp counter – It resets the cdp traffic counter data to zero.
  12. clear cdp table– It clears the cdp tables information.

Click here for CCNA Certification

Looking for an IT Job?

Please call us on 1800 159 151, or complete the form below.

  • This field is for validation purposes and should be left unchanged.

Recent Posts

The supply of this course/package/program is governed by our terms and conditions. Please read them carefully before enrolling, as enrolment is conditional on acceptance of these terms and conditions. The sale price is valid for registrations between 01 Dec and 10 Jan.

OUR ACCREDITATIONS

Find out why we are the leading choice to help boost your career in Australia

Prepare to get IT job ready in 8 weeks

Trained 10,000+ professionals and counting

Experienced Provider: Operating Since 2004

Trained staff from 1000+ Australian Businesses

We Have Placed Candidates In
SATISFIED CUSTOMERS
SOME OF OUR CLIENTS

Over 1000 organisations have relied on Logitrain to be their trusted training partner.

High-quality, cost-effective training in Australia
Learn More
  • This field is for validation purposes and should be left unchanged.

Dont’ Wait. Fill the form for a free no-obligation information session with our course specialists.

About The Author

Train with Confidence with our Price Beat Guarantee

Hurry, Covid discounts on Job Programs end soon

Open chat