This wiki has been migrated to https://gitlab.com/wireshark/wireshark/-/wikis/home and is now deprecated. Please use that site instead.
Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2005-10-19 07:43:06
Size: 1747
Editor: GuyHarris
Comment: Add quick first cut at CDP page, based on "Protocols/cdp" page.
Revision 6 as of 2005-10-27 14:22:13
Size: 2073
Editor: ylin1
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
 * ["LLC"]: Typically, CDP uses ["LLC"] as its transport protocol. SNAP, Cisco OUI, PID, etc.  * ["LLC"]/["SNAP"]: CDP is encapsulated as LLC/SNAP with an OUI of 0x00000C and a protocol ID of 0x2000.
 * ["Cisco HDLC"]: CDP is encapsulated over Cisco HDLC with a protocol type of 0x2000.
 * ["PPP"]: CDP is encapsulated over PPP with a protocol type of 0x0207.
Line 24: Line 26:
(XXX add links to preference settings affecting how CDP is dissected). There are no CDP specific preference settings.
Line 43: Line 45:
 XXX }}}  ether host 01000ccccccc }}}
Line 47: Line 49:
 * add link to CDP specification and where to find additional info on the web about it, e.g.:  * [http://www.cisco.com/univercd/cc/td/doc/product/lan/trsrb/frames.htm#xtocid12 CDP packet format information]
 * [http://www.cisco.com/en/US/products/hw/switches/ps663/products_tech_note09186a0080094713.shtml#cdp Some additional CDP information]

Cisco Discovery Protocol (CDP)

CDP (Cisco Discovery Protocol) is a Cisco proprietary protocol that runs between direct connected network entities (routers, switches, remote access devices, firewalls, etc.). The purpose of the protocol is to supply a network entity with information about its direct connected neighbors.

History

XXX - add a brief description of CDP history

Protocol dependencies

  • ["LLC"]/["SNAP"]: CDP is encapsulated as LLC/SNAP with an OUI of 0x00000C and a protocol ID of 0x2000.
  • ["Cisco HDLC"]: CDP is encapsulated over Cisco HDLC with a protocol type of 0x2000.
  • ["PPP"]: CDP is encapsulated over PPP with a protocol type of 0x0207.

Example traffic

XXX - Add example traffic here (as plain text or Ethereal screenshot).

Ethereal

The CDP dissector is (fully functional, partially functional, not existing, ... whatever the current state is). Also add info of additional Ethereal features where appropriate, like special statistics of this protocol.

Preference Settings

There are no CDP specific preference settings.

Example capture file

XXX - Add a simple example capture file to the SampleCaptures page and link from here (see below). Keep this file short, it's also a good idea to gzip it to make it even smaller, as Ethereal can open gzipped files automatically.

  • attachment:SampleCaptures/cdp.pcap

Display Filter

A complete list of CDP display filter fields can be found in the [http://www.ethereal.com/docs/dfref/c/cdp.html display filter reference]

  • Show only the CDP based traffic:

     cdp 

Capture Filter

XXX - filter for SNAP OUI/PID pair?

  • Capture only the CDP traffic:

     ether host 01000ccccccc 

Discussion

CDP (last edited 2013-05-06 19:20:28 by clementc)