calin radoni's humble web presence

homedocstoolboxabout

CDP

Table of Contents

Description

Cisco Discovery Protocol exchanges informations between and about Cisco devices in the network (routers, switches and IP phones).

Packet format

     ------------------------------------------------------------
    | Version |      TTL     |   Checksum   |        Data        |
    | 1 byte  |    2 bytes   |   2 bytes    |      variable      |
     ------------------------------------------------------------
        
where:
The format of a type-length-value field is:
     ------------------------------------------------
    |     Type    |    Length   |       Value        |
    |   2 bytes   |   2 bytes   |      variable      |
     ------------------------------------------------
        
where:

Common Type values are:

There are more types, actually I have identified 21.

Format of Value when Type is Address is:

     -----------------------------------------------------
    | Protocol | Protocol | Protocol | Address | Address  |
    |   Type   |  Length  |          | Length  |          |
    |  1 byte  |  1 byte  |  1 byte  | 2 bytes | variable | 
     -----------------------------------------------------
        

Format of Value when Type is Capabilities is:

This document is far from beeing complete but I hope it is making some light about the format of CDP packets.

History

Copyright and License

This document is copyrighted (c) 2006 by Calin Radoni. Permission is granted to copy and/or distribute this document.

Disclaimer

No liability for the contents of this document can be accepted. Use the concepts, examples and information at your own risk. There may be errors and inaccuracies that could be damaging to your system. Proceed with caution, the author do not take any responsibility.

All copyrights are held by their respective owners, unless specifically noted otherwise. Use of a term in this document should not be regarded as affecting the validity of any trademark or service mark. Naming of particular products or brands should not be seen as endorsements.


Copyright © 2005 - 2009 Calin Radoni Hosted on http://www.geocities.com/calinradoni Last page modification is 20 December 2006
Hosted by www.Geocities.ws

1