The Wayback Machine - https://web.archive.org/web/20240725010946/https://www.geeksforgeeks.org/high-level-data-link-control-hdlc-encapsulation/
Open In App

High-Level Data Link Control (HDLC) Encapsulation

Last Updated : 31 May, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report

High-Level Data Link Control (HDLC)

basically provides reliable delivery of data frames over a network or communication link. HDLC provides various operations such as framing, data transparency, error detection, and correction, and even flow control. Primary stations simply transmit commands that contain address of secondary stations. The secondary station then simply transmits responses that contain the primary address.

HDLC Encapsulation Protocol :

We know that each of frames of HDLC includes at least six to seven fields like start/end flag field, control field, information field, FCS (Frame Check Sequence) field. Standard HDLC Protocol contains six fields. Whereas on the other hand, Cisco HDLC (cHDLC) contains one extra protocol field. The standard protocol uses to support only one protocol whereas cHDLC protocol use to support multi-protocol environments. Supporting multiple protocols is possible due to protocol field in header, that helps in identifying different protocols. cHDLC was basically created by Cisco systems.

  • Address field – This field is used to identify and specify type of packet that is present in cHDLC frame. It can be 0*0F for Unicast and 0*8F for Broadcast packets.
  • Control field – This field is always set to zero i.e. 0*00.
  • Protocol field – This field is especially required to specify and identify type of protocol that is being encapsulated withing cHDLC frame. It can be 0x0800 for Internet Protocol.

Verify HDLC Encapsulation :

We know that HDLC is generally default encapsulation method for serial interfaces on Cisco router. Therefore, it will not be listed in any of running configurations. This simply means that to verify HDLC encapsulation, we cannot even use show running-config command. So, we must use show interfaces (Interface) command identify and view type of encapsulation in interface.

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)
Last input never, output never, output hang never
Last clearing of "show interface" counters never

The output will indicate type of encapsulation in HDLC.

Troubleshoot HDLC Encapsulation :

To view and know present status of serial interface, we can use two types of commands as given below:

  • show ip interface brief
  • show interfaces [interface]

Show controllers command is an essential and important diagnostic tool that helps in troubleshooting serial lines. This command output also indicates state of interface channels and whether a cable is attached to interface or not. There are some reasons that are responsible for some issues arising during HDLC implementation due to which protocol status will be down. These reasons are given below:

  • Presence of Non-Cisco router at remote side.
  • Usage of others protocols such as PPP by remote side router.
  • Inability to providing clock rate to DTE (Data Terminal Equipment) Device by DCE (Data Circuit-Terminating Equipment) Device.
  • Problem or issue with internal wiring of card.
  • Unknown electrical interfaces.

Some of the serial interface issues are given below:

  1. Serial x is up, Line Protocol is up – This command indicates that line is up and functioning properly. There is no requirement of any action.
  2. Serial x is down, Line Protocol is down (DTE mode) – This command indicates that there is an issue. This issue can arise due to different reasons. Some of them are given below:
    • Fault in cable – This issue can be resolved by swapping all of fault cables.
    • Failure of hardware – This issue can be resolved by changing serial line to another port.
  3. Serial x is up, Line Protocol is down (DTE mode) – This command also indicates that there is an issue. This issue can arise due to reason that a local or remote is misconfigured. This problem can be resolved by putting modem, CSU (Channel Service Unit) or DSU (Data Service Unit) in local loopback mode, and then using show interface serial command. This command indicates whether line protocol has come up or not.

Similar Reads

Difference Between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP)
The main difference between High-level Data Link Control (HDLC) and Point-to-Point Protocol (PPP) is that High-level Data Link Control is the bit-oriented protocol, on the other hand, Point-to-Point Protocol is the byte-oriented protocol. Another difference between HDLC and PPP is that HDLC is implemented by Point-to-point configuration and also mu
3 min read
What is Data Encapsulation and de-encapsulation in networking?
This article is all about Data Encapsulation and Decapsulation in Networking. Both encapsulation and decapsulation processes are simultaneously running over a network in order to make effective communication possible. Encapsulation is the process which is executed on the sender's side whereas decapsulation occurs on the receiver's side. Now, let's
3 min read
How Data Encapsulation and De-encapsulation Works?
Data encapsulation and de-encapsulation are fundamental concepts in computer networking and communication protocols. These processes are essential for transferring data across networks efficiently and securely. What is Data Encapsulation?Encapsulation is the process of adding additional information when data is traveling in an OSI or TCP/IP model.
4 min read
Difference between BISYNC and HDLC features
BISYNC: BISYNC stands for Binary Synchronous Communication. It is a half-duplex link protocol that replaces the SRT which stands for Synchronous transmit-receive. HDLC: HDLC stands for High-Level Data Link Control. It works on the data link layer of the OSI reference model. It supports both connection-oriented and connection less services. Similari
2 min read
Types of HDLC Frames
High-Level Data Link Control (HDLC) generally provides flexibility to simply support all options that are possible in various data transfer modes and configurations. To provide flexibility, HDLC basically uses and explains three different types of frames. Type of frame is basically determined by control field of frame. Each type of frame generally
2 min read
Various Types of Transfer Modes in HDLC
High-Level Data Link Control (HDLC) is basically data link control protocol that is capable of supporting range of various models of operation or data transfer. A mode in HDLC generally represents relationship among two devices that are involved in an exchange. A mode basically describes who actually controls data link. HDLC communications session
3 min read
Type of Configurations provided by HDLC
High-Level Data Link Control (HDLC) is a protocol that is generally developed by the International Organization of Standardization (ISO). HDLC is basically a group of data link layer protocols of the Open System Interconnection (OSI) Model that is required to transmit synchronous data packets or frames among point-to-point nodes. It also provides b
2 min read
Type of Stations for HDLC Protocol
High-Level Data Link Control (HDLC) is basically bit-oriented protocol for communication that means it uses bit stuffing to achieve data transparency over very point-to-point and multipoint links in Data Link Layer (DLL). Transparency is basically separation of data from control signals. HDLC was being derived from Synchronous Data Link Control (SD
3 min read
Basic Frame Structure of HDLC
High-Level Data Link Control (HDLC) generally uses term “frame” to indicate and represent an entity of data or a protocol of data unit often transmitted or transferred from one station to another station. Each and every frame on link should begin and end with Flag Sequence Field (F). Each of frames in HDLC includes mainly six fields. It begins with
4 min read
Cisco Discovery Protocol (CDP) and Link Layer Discovery Protocol (LLDP) in Data Link Layer
Layer 2 or the Datalink layer provides physical addressing and access to media. It defines how data is to be formatted for transmission and how access to the network is to be controlled. It also provides error detection, ensuring data on higher layers is formatted correctly for transmission. Cisco Discovery Protocol (CDP) and Link Layer Discovery P
2 min read
Article Tags :
three90RightbarBannerImg