HDLC Protocol Overview Presentation
HDLC Protocol Overview Presentation
What is HDLC?
High Level Data Link Control is a protocol, which operates at the data link layer. The HDLC protocol embeds information in a
data frame that allows devices to control data flow and correct errors
HDLC is an ISO Standard developed from the Synchronous Data Link Control (SDLC) standard proposed by IBM
Role of HDLC is to ensure that the data has been received without any loss or errors and in the correct order
2
2
HDLC Basics
Stations:
➢ Primary: sends data, controls the link with commands
Link configuration:
➢ Unbalanced: one primary station, one or more secondary stations
3
3
Operation Modes
HDLC has three operation modes –
▪ Normal Response Mode (NRM)
➢ Secondary station initiates a transmission without receiving permission from the primary station
➢ Primary terminal still retains responsibility for line initialization, error recovery, and logical disconnect
➢ Allows the secondary station to send frames asynchronously with respect to the primary station
4
4
HDLC Frame Structure
General HDLC Frame
Flag – Identifies the beginning and end of a frame – 01111110 (7E Hex)
Data – Data field may vary in length depending upon the protocol using the frame. Layer 3 frames
are carried in the data field
5
5
Frame Types
Information frames (I-Frames) – Carry the actual data. Transport user data from the network layer. In
addition, they can also include flow and error control information piggybacked on data
Supervisory frames (S-Frames) – Used for error and flow control. They contain, send and receive
sequence numbers
Unnumbered frames (U-Frames) – Used for various miscellaneous purposes, including link
management
6
6
Control Fields
7
7
Information Frames (I-Frames)
1 3 1 3
8
8
Supervisory Frames (S-Frames)
1 1 2 1 3
9
9
Unnumbered Frames (U-Frames)
1 1 2 1 3
10
10
Protocol Operation
• Basic functions involves –
➢ Link management
➢ Data transfer (includes error and flow control)
11
11
Protocol Operation
• Establishes a logical connection between the two communication parties prior to any transmission
• Primary station sends the SNRM (Set Normal Response Mode ) , SABM (Set Asynchronous Balanced Mode), SABME (Set
Asynchronous Balanced Mode, Extended) with the poll bit set to 1 and the address of the appropriate secondary in the address
field
12
12
Protocol Operation
• If the secondary has no data to transmit, it returns an RNR frame with the F bit set
13
Protocol Operation
14
GL Test Tools for HDLC
➢ HDLC Tx/Rx Client Server Applications ➢ HDLC Tx/Rx Client Server Applications
➢ HDLC Analyzer
For T3
➢ HDLC Playback
➢ HDLC Analyzer
15
Thank You
16