SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link LayerAbdullaziz Tagawy
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point ProtocolPhan Vuong
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocolKinza Razzaq
 
Flow control in Computer Network
Flow control in Computer NetworkFlow control in Computer Network
Flow control in Computer NetworkAhtesham Ullah khan
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHAREKhushboo Pal
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network LayerRahul Hada
 
Computer network switching
Computer network switchingComputer network switching
Computer network switchingShivani Godha
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer servicesMelvin Cabatuan
 
ATM Networking Concept
ATM Networking ConceptATM Networking Concept
ATM Networking ConceptTushar Ranjan
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
Manchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding schemeManchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding schemeArunabha Saha
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)Kruti Niranjan
 

Mais procurados (20)

Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Point To Point Protocol
Point To Point ProtocolPoint To Point Protocol
Point To Point Protocol
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Multiplexing
MultiplexingMultiplexing
Multiplexing
 
HDLC and Point to point protocol
HDLC and Point to point protocolHDLC and Point to point protocol
HDLC and Point to point protocol
 
HDLC
HDLCHDLC
HDLC
 
Flow control in Computer Network
Flow control in Computer NetworkFlow control in Computer Network
Flow control in Computer Network
 
Sliding window protocol
Sliding window protocolSliding window protocol
Sliding window protocol
 
CSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARECSMA /CD PPT ON SLIDESHARE
CSMA /CD PPT ON SLIDESHARE
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Computer network switching
Computer network switchingComputer network switching
Computer network switching
 
Transport layer services
Transport layer servicesTransport layer services
Transport layer services
 
ATM Networking Concept
ATM Networking ConceptATM Networking Concept
ATM Networking Concept
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Manchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding schemeManchester & Differential Manchester encoding scheme
Manchester & Differential Manchester encoding scheme
 
Error control
Error controlError control
Error control
 
CSMA/CD
CSMA/CDCSMA/CD
CSMA/CD
 
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
TCP & UDP ( Transmission Control Protocol and User Datagram Protocol)
 
Congestion control in TCP
Congestion control in TCPCongestion control in TCP
Congestion control in TCP
 
Frame relay
Frame relayFrame relay
Frame relay
 

Destaque (12)

Hdlc
HdlcHdlc
Hdlc
 
Chapter3
Chapter3Chapter3
Chapter3
 
Check sum
Check sumCheck sum
Check sum
 
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 protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
Multiple access control protocol
Multiple access control protocol Multiple access control protocol
Multiple access control protocol
 

Semelhante a 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
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)Prof Ansari
 

Semelhante a 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
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
 
INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)INTERFACING WITH INTEL 8251A (USART)
INTERFACING WITH INTEL 8251A (USART)
 

Último

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
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
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
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
 

Último (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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)
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
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
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
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
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
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
 

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