SlideShare une entreprise Scribd logo
1  sur  18
Anand Bapuraya Biradar
VII th EC SJCE
12/21/2013
High-Level Data Link Control (HDLC)
 HDLC was defined by ISO for use on both pointto-point and multipoint data links.
 It supports full-duplex communication
 ITU modified HDLC for use in X.25 network

interface and called it Balanced Link Access
Protocol (LAPB)
 Other similar protocols are
 Synchronous Data Link Control (SDLC) by IBM

 Advanced Data Communication Control Procedure

(ADCCP) by ANSI
12/21/2013
HDLC Overview
Broadly HDLC features are as follows:
 Reliable protocol
 selective repeat or go-back-N

 Full-duplex communication
 receive and transmit at the same time

 Bit-oriented protocol
 use bits to stuff flags occurring in data . i.e, it does NOT

recognize or interpret byte value

 Flow control
 adjust window size based on receiver capability

 Uses physical layer clocking and
synchronization to send and receive frames
12/21/2013
HDLC Overview
 Defines three types of stations
 Primary
 Secondary
 Combined

 Defines three types of data transfer mode
 Normal Response mode
 Asynchronous Response mode
 Asynchronous Balanced mode

 Three types of frames
 Unnumbered
 information
 Supervisory
12/21/2013
HDLC Defines three types of

stations
STATIONS

PRIMARY
STATION

12/21/2013

SECONDARY
STATION

COMBINED
STATION
HDLC
 The three stations are :
 Primary station
 Has the responsibility of controlling the operation of data
flow .
 Handles error recovery
 Frames issued by the primary station are called commands.
 Secondary station,
 Operates under the control of the primary station.
 Frames issued by a secondary station are called responses.
 The primary station maintains a separate logical link with each
secondary station.
 Combined station,
 Acts as both as primary and secondary station.
12/21/2013
HDLC

Unbalanced Mode

Commands
Primary
Responses
Secondary

Secondary

Balanced mode

Combined

Combined
commands/Responses

12/21/2013
HDLC Defines three types of data
transfer mode
DATA TRANSFER
MODES

NORMAL
RESPONSE
MODE(NRM)

12/21/2013

ASYNCHRONOUS
RESPONSE
MODE(ARM)

ASYNCHRONOUS
BALANCE MODE
(ABM)
HDLC
 The three modes of data transfer operations are
 Normal Response Mode (NRM)



Secondary station can send ONLY when the primary station instruct it
to do so
Two common configurations
- Point-to-Point link (one primary station and one secondary station)
- Multipoint link (the primary station maintain different sessions with
different secondary stations)

 Asynchronous Response Mode (ARM)



More independent secondary station
Can send data or control information without explicit permission to do
so (note that it is still can not send commands)

 Asynchronous Balanced Mode (ABM)



12/21/2013

Mainly used in point-to-point links, for communication between
combined stations
Either stations can send data, control information and commands
HDLC Defines three types of frames

HDLC
FRAMES

U-frame
12/21/2013

I-frame

S-frame
HDLC frame structure
(a) Frame
Format

(b) Control
field
format

12/21/2013
HDLC
 Flag: 01111110- indicates start and ending of frames
 FCS: 16-bit CRC using generating polynomial
G(x) = x16 + x12 + x5 + 1

 Address field:
 When a primary station is sending a frame, the address field

contains the receiver identity
 If a secondary station is sending the frame, the address field
contains the sender identity
 In some cases, it contains a group or broadcast address

 In I-frames, N(s) is the sequence number of the frame being sent, and

N(r) is the sequence number of the frame being expected.

 The P/F bit, known as the poll/final bit, is used with different meaning in
different contexts.
 It is used to indicate polling, to indicate the final I-frame, etc

12/21/2013
HDLC
 There are three different classes of frames used in
HDLC
 Unnumbered frames, used in link setup and

disconnection, and hence do not contain ACK.
 Information frames, which carry actual information.
Such frames can piggyback ACK in case of ABM
 Supervisory frames, which are used for error and flow
control purposes and hence contain send and receive
sequence numbers

12/21/2013
HDLC
 There are four different supervisory frames
 SS=00, Receiver Ready (RR), and N(R) ACKs all frames

received up to and including the one with sequence
number N(R) - 1
 SS=10, Receiver Not Ready (RNR), and N(R) has the
same meaning as above
 SS=01, Reject; all frames with sequence number N(R) or
higher are rejected, which in turns ACKs frames with
sequence number N(R) -1 or lower.
 SS=11, Selective Reject; the receive rejects the frame with
sequence number N(R)
12/21/2013
HDLC
 The unnumbered frames can be grouped into the

following categories:
 Mode-setting commands and responses
 Recovery commends and responses

 Miscellaneous commands and responses

12/21/2013
Review of Link Layer
 Services







Framing
Error control
Reliability
Connection management
Medium access control
Switching

 Protocols
 PPP
 HDLC

12/21/2013
ANY QUESTIONS……??

12/21/2013
•Thank you……

12/21/2013

Contenu connexe

Tendances

Framming data link layer
Framming data link layerFramming data link layer
Framming data link layerPREMAL GAJJAR
 
Data link control
Data link controlData link control
Data link controlIffat Anjum
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptxNaveen Dubey
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link controlVishal kakade
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer NetworksIIIT Manipur
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Sudhanshu Srivastava
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network ModelsWayne Jones Jnr
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference ModelMukesh Tekwani
 
Synchronous and Asynchronous Transmission
Synchronous and Asynchronous TransmissionSynchronous and Asynchronous Transmission
Synchronous and Asynchronous TransmissionAdeel Rasheed
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols BE Smârt
 

Tendances (20)

Framming data link layer
Framming data link layerFramming data link layer
Framming data link layer
 
Aloha
AlohaAloha
Aloha
 
Data link control
Data link controlData link control
Data link control
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
Application Layer
Application Layer Application Layer
Application Layer
 
Congetion Control.pptx
Congetion Control.pptxCongetion Control.pptx
Congetion Control.pptx
 
Unit 2 data link control
Unit 2 data link controlUnit 2 data link control
Unit 2 data link control
 
QOS (Quality of Services) - Computer Networks
 QOS (Quality of Services) - Computer Networks QOS (Quality of Services) - Computer Networks
QOS (Quality of Services) - Computer Networks
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)
 
Transport layer protocol
Transport layer protocolTransport layer protocol
Transport layer protocol
 
Stop-and-Wait ARQ Protocol
Stop-and-Wait ARQ ProtocolStop-and-Wait ARQ Protocol
Stop-and-Wait ARQ Protocol
 
GO BACK N PROTOCOL
GO BACK N PROTOCOLGO BACK N PROTOCOL
GO BACK N PROTOCOL
 
Chapter 2 - Network Models
Chapter 2 - Network ModelsChapter 2 - Network Models
Chapter 2 - Network Models
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
IPV6 ADDRESS
IPV6 ADDRESSIPV6 ADDRESS
IPV6 ADDRESS
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
Synchronous and Asynchronous Transmission
Synchronous and Asynchronous TransmissionSynchronous and Asynchronous Transmission
Synchronous and Asynchronous Transmission
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 

En vedette (10)

Hdlc
HdlcHdlc
Hdlc
 
Chapter3
Chapter3Chapter3
Chapter3
 
The medium access sublayer
 The medium  access sublayer The medium  access sublayer
The medium access sublayer
 
Farming system
Farming systemFarming system
Farming system
 
Farming
FarmingFarming
Farming
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 
Ethernet
EthernetEthernet
Ethernet
 
Linear block coding
Linear block codingLinear block coding
Linear block coding
 
Checksum 101
Checksum 101Checksum 101
Checksum 101
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 

Similaire à HDLC(high level data link control)

High-level Data Link Control
High-level Data Link Control High-level Data Link Control
High-level Data Link Control wajahat Gul
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxODINARARCH
 
HDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdfHDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdf2O550Sujal
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocolsandhyakiran10
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIPNaveen Kumar
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol conceptsRaji Lakshmi
 
Demystifying the JESD204B High-speed Data Converter-to-FPGA interface
Demystifying the JESD204B High-speed Data Converter-to-FPGA interfaceDemystifying the JESD204B High-speed Data Converter-to-FPGA interface
Demystifying the JESD204B High-speed Data Converter-to-FPGA interfaceAnalog Devices, Inc.
 
Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16IJMER
 
Architectures of HDLC Controllers (A Study)
Architectures of HDLC Controllers (A Study)Architectures of HDLC Controllers (A Study)
Architectures of HDLC Controllers (A Study)VIT-AP University
 
Gsm Cell Planning And Optimization
Gsm Cell Planning And OptimizationGsm Cell Planning And Optimization
Gsm Cell Planning And OptimizationYasir Azmat
 
3a data link layer continued
3a data link layer continued3a data link layer continued
3a data link layer continuedkavish dani
 

Similaire à HDLC(high level data link control) (20)

High level data link control
High level data link controlHigh level data link control
High level data link control
 
Hdlc
HdlcHdlc
Hdlc
 
High-level Data Link Control
High-level Data Link Control High-level Data Link Control
High-level Data Link Control
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptx
 
Hdlc
HdlcHdlc
Hdlc
 
Ppp
PppPpp
Ppp
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
HDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdfHDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdf
 
High level data link control and point to point protocol
High level data link control and point to point protocolHigh level data link control and point to point protocol
High level data link control and point to point protocol
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIP
 
Hdlc
HdlcHdlc
Hdlc
 
HDLC
HDLCHDLC
HDLC
 
HDLC
HDLC HDLC
HDLC
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
Demystifying the JESD204B High-speed Data Converter-to-FPGA interface
Demystifying the JESD204B High-speed Data Converter-to-FPGA interfaceDemystifying the JESD204B High-speed Data Converter-to-FPGA interface
Demystifying the JESD204B High-speed Data Converter-to-FPGA interface
 
Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16Design and Implementation of HDLC Controller by Using Crc-16
Design and Implementation of HDLC Controller by Using Crc-16
 
Architectures of HDLC Controllers (A Study)
Architectures of HDLC Controllers (A Study)Architectures of HDLC Controllers (A Study)
Architectures of HDLC Controllers (A Study)
 
Chapter5
Chapter5Chapter5
Chapter5
 
Gsm Cell Planning And Optimization
Gsm Cell Planning And OptimizationGsm Cell Planning And Optimization
Gsm Cell Planning And Optimization
 
3a data link layer continued
3a data link layer continued3a data link layer continued
3a data link layer continued
 

Dernier

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 

Dernier (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 

HDLC(high level data link control)

  • 1. Anand Bapuraya Biradar VII th EC SJCE 12/21/2013
  • 2. High-Level Data Link Control (HDLC)  HDLC was defined by ISO for use on both pointto-point and multipoint data links.  It supports full-duplex communication  ITU modified HDLC for use in X.25 network interface and called it Balanced Link Access Protocol (LAPB)  Other similar protocols are  Synchronous Data Link Control (SDLC) by IBM  Advanced Data Communication Control Procedure (ADCCP) by ANSI 12/21/2013
  • 3. HDLC Overview Broadly HDLC features are as follows:  Reliable protocol  selective repeat or go-back-N  Full-duplex communication  receive and transmit at the same time  Bit-oriented protocol  use bits to stuff flags occurring in data . i.e, it does NOT recognize or interpret byte value  Flow control  adjust window size based on receiver capability  Uses physical layer clocking and synchronization to send and receive frames 12/21/2013
  • 4. HDLC Overview  Defines three types of stations  Primary  Secondary  Combined  Defines three types of data transfer mode  Normal Response mode  Asynchronous Response mode  Asynchronous Balanced mode  Three types of frames  Unnumbered  information  Supervisory 12/21/2013
  • 5. HDLC Defines three types of stations STATIONS PRIMARY STATION 12/21/2013 SECONDARY STATION COMBINED STATION
  • 6. HDLC  The three stations are :  Primary station  Has the responsibility of controlling the operation of data flow .  Handles error recovery  Frames issued by the primary station are called commands.  Secondary station,  Operates under the control of the primary station.  Frames issued by a secondary station are called responses.  The primary station maintains a separate logical link with each secondary station.  Combined station,  Acts as both as primary and secondary station. 12/21/2013
  • 8. HDLC Defines three types of data transfer mode DATA TRANSFER MODES NORMAL RESPONSE MODE(NRM) 12/21/2013 ASYNCHRONOUS RESPONSE MODE(ARM) ASYNCHRONOUS BALANCE MODE (ABM)
  • 9. HDLC  The three modes of data transfer operations are  Normal Response Mode (NRM)   Secondary station can send ONLY when the primary station instruct it to do so Two common configurations - Point-to-Point link (one primary station and one secondary station) - Multipoint link (the primary station maintain different sessions with different secondary stations)  Asynchronous Response Mode (ARM)   More independent secondary station Can send data or control information without explicit permission to do so (note that it is still can not send commands)  Asynchronous Balanced Mode (ABM)   12/21/2013 Mainly used in point-to-point links, for communication between combined stations Either stations can send data, control information and commands
  • 10. HDLC Defines three types of frames HDLC FRAMES U-frame 12/21/2013 I-frame S-frame
  • 11. HDLC frame structure (a) Frame Format (b) Control field format 12/21/2013
  • 12. HDLC  Flag: 01111110- indicates start and ending of frames  FCS: 16-bit CRC using generating polynomial G(x) = x16 + x12 + x5 + 1  Address field:  When a primary station is sending a frame, the address field contains the receiver identity  If a secondary station is sending the frame, the address field contains the sender identity  In some cases, it contains a group or broadcast address  In I-frames, N(s) is the sequence number of the frame being sent, and N(r) is the sequence number of the frame being expected.  The P/F bit, known as the poll/final bit, is used with different meaning in different contexts.  It is used to indicate polling, to indicate the final I-frame, etc 12/21/2013
  • 13. HDLC  There are three different classes of frames used in HDLC  Unnumbered frames, used in link setup and disconnection, and hence do not contain ACK.  Information frames, which carry actual information. Such frames can piggyback ACK in case of ABM  Supervisory frames, which are used for error and flow control purposes and hence contain send and receive sequence numbers 12/21/2013
  • 14. HDLC  There are four different supervisory frames  SS=00, Receiver Ready (RR), and N(R) ACKs all frames received up to and including the one with sequence number N(R) - 1  SS=10, Receiver Not Ready (RNR), and N(R) has the same meaning as above  SS=01, Reject; all frames with sequence number N(R) or higher are rejected, which in turns ACKs frames with sequence number N(R) -1 or lower.  SS=11, Selective Reject; the receive rejects the frame with sequence number N(R) 12/21/2013
  • 15. HDLC  The unnumbered frames can be grouped into the following categories:  Mode-setting commands and responses  Recovery commends and responses  Miscellaneous commands and responses 12/21/2013
  • 16. Review of Link Layer  Services       Framing Error control Reliability Connection management Medium access control Switching  Protocols  PPP  HDLC 12/21/2013