Cisco HDLC


Cisco HDLC is an extension to the High-Level Data Link Control network protocol, and was created by Cisco Systems, Inc. HDLC is a bit-oriented synchronous data link layer protocol that was originally developed by the International Organization for Standardization. Often described as being a proprietary extension, the details of cHDLC have been widely distributed and the protocol has been implemented by many network equipment vendors. cHDLC extends HDLC with multi-protocol support.

Framing

Cisco HDLC frames uses an alternative framing structure to the standard ISO HDLC. To support multiple protocols encapsulation, cHDLC frames contain a field for identifying the network protocol.

Structure

cHDLC frame structure

The following table describes the structure of a cHDLC frame on the wire.
AddressControlProtocol CodeInformationFrame Check Sequence Flag
8 bits8 bits16 bitsVariable length, 0 or more bits, in multiples of 816 bits8 bits

The Serial Line Address Resolution Protocol frame is designated by a specific cHDLC protocol code field value of 0x8035.
Three types of SLARP frame are defined: address requests, address replies, and keep-alive frames.
The following table shows the structure of a SLARP cHDLC address request–response frame.
AddressControlProtocol CodeSLARP Op-CodeAddressMaskReservedFrame Check Sequence Flag
8 bits8 bits16 bits 32 bits32 bits32 bits16 bits16 bits8 bits

The following table shows the structure of a SLARP cHDLC keep-alive frame.
AddressControlProtocol CodeSLARP Op-CodeSequence Number Sequence Number ReliabilityFrame Check Sequence Flag
8 bits8 bits16 bits 32 bits32 bits32 bits16 bits16 bits8 bits