Information Technology Reference
In-Depth Information
Source and destination IP addresses
■
Source and destination interface identifiers
■
TCP/UDP source and destination port numbers
■
Number of bytes and packets per flow
■
Source and destination autonomous system numbers
■
IP type of service (ToS)
■
CDP
Cisco Discovery Protocol (CDP) is a Cisco-proprietary protocol that can be used to dis-
cover only Cisco network devices. CDP is media and protocol independent, so it works
over Ethernet, Frame Relay, ATM, and other media. The requirement is that the media sup-
port Subnetwork Access Protocol (SNAP) encapsulation. CDP runs at the data link layer
of the OSI model. CDP uses hello messages; packets are exchanged between neighbors,
but CDP information is not forwarded. In addition to routers and switches, IP phones and
Cisco Unified Communication Manager (CUCM) servers also advertise CDP information.
Key
To p i c
Being protocol and media independent is CDP's biggest advantage over other network
management technologies. CDP provides key information about neighbors, including plat-
for m s, c apabilit ie s, and IP addre s s e s, which is s ig nific ant for net work dis cover y. It is u s e -
ful when SNMP community strings are unknown when performing a network discovery.
When displaying CDP neighbors, you can obtain the following information:
Local interface:
Local interface that is connected to the discovered neighbor
■
Device ID:
Name of the neighbor device and MAC address or serial number
■
Device IP address:
IP address of the neighbor
■
Hold time:
How long (seconds) to hold the neighbor information
■
Device capabilities:
Ty pe of dev ice discovered: router, sw itch, transparent bridge,
host, IGMP, repeater
■
Version:
IOS or switch OS version
■
Platform:
Router or switch model number
■
Port ID:
Interface of the neighboring device
■
Network management devices can obtain CDP information for data gathering. CDP
should be disabled on untrusted interfaces, such as those that face the Internet, third-
party networks, or other secure networks. CDP works only on Cisco devices.
Note:
Disable CDP on interfaces for which you do not want devices to be discovered,
such as Internet connections.