Learning about other devices

From Mycomputer Notes

Revision as of 22:57, 30 April 2006 by 70.82.223.90 (Talk)

Cisco Didcovery Protocol (CDP) is a layer 2 protocol that connects lower physical media and upper network layer protocols. CDP operates at the data link layer and allows two systems, Cisco Devices, to learn about each other, even if they use different network layer protocols.

Each device that is configured for CDP sends periodic messages, which are known as advertisements, to directly connected Cisco devices. Each device advertises at least one address at which it can receive Simple Network Management Protocol (SNMP) messages.

The primary used of CDP is to discover all CISCO devices, neighboring devices, that are direclty connected to a local device. Since each device exchange protocol information with its neighbors an administrator can display the results of this information exchange thorough a console that is directly connected to the router. CDP transmits type length values (TLVs) to provide information about each CDP neighbor device

Device TLVs displayed by the show cdp neighbors command include the following:

  • Device ID
  • Local Interface
  • Holdtime
  • Capability
  • Platform
  • Port ID

The following TLVs are only included in CDPv2:

  • VTP management domain name
  • Native VLAN
  • Full or half-duplex

Implementation, monitoring and maintenance of CDP

This section will introduce the commands to implement, monitored and maintain CDP. The cdp run command is used to enable CDP Globally on a router. By default CDP is enabled. The cdp enable command is used to enable cdp on a particular interface On Cisco IOS Release 10.3 or higher, CDP is enabled by default on all supported interfaces to send and receive CDP information.

Below you will have the Commands used to implement, monitor, and maintain CDP

Personal tools