![]() |
VOOZH | about |
High-Level Data Link Control (HDLC) is a bit-oriented, code-transparent, synchronous data link layer protocol. It is widely used for reliable delivery of data frames over communication links. HDLC provides essential functions such as:
Note: In HDLC communication, Primary stations send commands containing the address of secondary stations & Secondary stations reply with responses addressed back to the primary station.
Encapsulation in HDLC refers to the way frames are structured to carry data across serial links.
A standard HDLC frame typically contains six fields:
Cisco developed its own extension of HDLC, known as Cisco HDLC (cHDLC), which adds an extra field to support multiple protocols.
Key Point: The Protocol Field makes cHDLC suitable for multi-protocol environments (unlike standard HDLC).
By default, Cisco routers use HDLC encapsulation on serial interfaces. Since it is the default, it does not appear in the running configuration. To verify encapsulation:
Router# show interfaces serial 0/0/0
Serial0/0/0 is administratively down, line protocol is down (disabled)
Hardware is HD64570
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation HDLC, loopback not set, keepalive set (10 sec)
Here, The line “Encapsulation HDLC” confirms that HDLC is in use.
HDLC troubleshooting often involves checking the status of serial interfaces. Useful commands include:
Possible causes:
1. Faulty cable -> Replace/swapping cables.
2. Hardware failure -> Try a different port or card.
Possible causes:
1. Mismatch in encapsulation (remote side using PPP instead of HDLC).
2. No clock rate from DCE to DTE.
3. CSU/DSU or modem issues.
Solution: Place CSU/DSU in local loopback mode and run show interface serial to check if line protocol recovers.