SlideShare a Scribd company logo
Chapter 11
                  Data Link Protocols

    •   Asynchronous Protocols
    •   Synchronous Protocols
    •   Character-Oriented Protocols
    •   Bit-Oriented Protocols

WCB/McGraw-Hill                  The McGraw-Hill Companies, Inc., 1998
Figure 11-1




WCB/McGraw-Hill    The McGraw-Hill Companies, Inc., 1998
Figure 11-2




WCB/McGraw-Hill    The McGraw-Hill Companies, Inc., 1998
Figure 11-3

                                    XMODEM




    XMODEM is Half Duplex stop-and-wait ARQ protocol.
    Transmissison begins after sending NAK frame by receiver.
    CAN signal aborts the transmission.


WCB/McGraw-Hill                                       The McGraw-Hill Companies, Inc., 1998
Figure 11-4




              OR

      Byte oriented protocols




WCB/McGraw-Hill                  The McGraw-Hill Companies, Inc., 1998
Figure 11-5




          BSC-BINARY SYNCHRONOUS COMMUNICATION




WCB/McGraw-Hill
                                            The McGraw-Hill Companies, Inc., 1998
Figure 11-6


                  Simple BSC Frame




WCB/McGraw-Hill               The McGraw-Hill Companies, Inc., 1998
Figure 11-7



                  A Frame with Header




WCB/McGraw-Hill                   The McGraw-Hill Companies, Inc., 1998
Figure 11-8


                  Multiblock Frame




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-9
                  Multiframe Transmission




WCB/McGraw-Hill                   The McGraw-Hill Companies, Inc., 1998
Figure 11-10




                                 Control Frame
        Contains control characters but no data.
        Used to send commands or get information from other device.




WCB/McGraw-Hill                                      The McGraw-Hill Companies, Inc., 1998
Figure 11-11


                  Control Frames




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-11-continued


                         Control Frames




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-11-continued


                         Control Frames




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-12
                     Byte Stuffing




  DATA LINK ESCAPE




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-13




WCB/McGraw-Hill    The McGraw-Hill Companies, Inc., 1998
Figure 11-14


                  HDLC Configuration




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-14-continued
                         HDLC Configuration




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-14-continued


                         HDLC Configuration




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-15


                        HDLC Modes




   NRM- NORMAL RESPONSE MODE
   ARM- ASYNCHRONOUS RESPONSE MODE
   ABM- ASYNCHRONOUS BALANCED MODE




WCB/McGraw-Hill                       The McGraw-Hill Companies, Inc., 1998
Figure 11-16

                  HDLC Frame Types




                   INFORMATION FRAME


WCB/McGraw-Hill                    The McGraw-Hill Companies, Inc., 1998
Figure 11-16-continued

                         HDLC Frame Types




                            SUPERVISORY FRAME



WCB/McGraw-Hill                           The McGraw-Hill Companies, Inc., 1998
Figure 11-16-continued

                         HDLC Frame Types




                             UNNUMBERED FRAME



WCB/McGraw-Hill                         The McGraw-Hill Companies, Inc., 1998
Figure 11-17

                  HDLC Flag Field




WCB/McGraw-Hill                 The McGraw-Hill Companies, Inc., 1998
Figure 11-18
                       Bit Stuffing




WCB/McGraw-Hill    The McGraw-Hill Companies, Inc., 1998
Figure 11-19
                  HDLC Address Field




WCB/McGraw-Hill                 The McGraw-Hill Companies, Inc., 1998
Figure 11-20

                  HDLC Control Field




WCB/McGraw-Hill                 The McGraw-Hill Companies, Inc., 1998
Figure 11-21

                  Poll/Final




WCB/McGraw-Hill                 The McGraw-Hill Companies, Inc., 1998
Figure 11-22

                           HDLC Information Field




 Combining data to be sent with acknowledgement of the frame
 Received in one single frame is called piggybacking.


WCB/McGraw-Hill                                    The McGraw-Hill Companies, Inc., 1998
Figure 11-23

                  HDLC FCS Field




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-24




WCB/McGraw-Hill    The McGraw-Hill Companies, Inc., 1998
Figure 11-25

                  Use of P/F Field




WCB/McGraw-Hill                 The McGraw-Hill Companies, Inc., 1998
Figure 11-25-continued

                         Use of P/F Field




WCB/McGraw-Hill                        The McGraw-Hill Companies, Inc., 1998
Figure 11-25-continued

                         Use of P/F Field




WCB/McGraw-Hill                        The McGraw-Hill Companies, Inc., 1998
Figure 11-25-continued

                         Use of P/F Field




WCB/McGraw-Hill                        The McGraw-Hill Companies, Inc., 1998
Figure 11-25-continued
                         Use of P/F Field




WCB/McGraw-Hill                        The McGraw-Hill Companies, Inc., 1998
Figure 11-26

                  U-Frame Control Field




WCB/McGraw-Hill                  The McGraw-Hill Companies, Inc., 1998
Figure 11-26-continued
                         U-Frame Control Field




WCB/McGraw-Hill                         The McGraw-Hill Companies, Inc., 1998
Figure 11-27
                  Polling Example




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-28
                  Selecting Example




WCB/McGraw-Hill                The McGraw-Hill Companies, Inc., 1998
Figure 11-29
                  Peer-to-Peer Example




WCB/McGraw-Hill                  The McGraw-Hill Companies, Inc., 1998
Figure 11-29-continued
                         Peer-to-Peer Example




WCB/McGraw-Hill                         The McGraw-Hill Companies, Inc., 1998

More Related Content

Viewers also liked

Program for hamming code using c
Program for hamming code using cProgram for hamming code using c
Program for hamming code using csnsanth
 
Data Link Protocols in Data Communication DC22
Data Link Protocols in Data Communication DC22Data Link Protocols in Data Communication DC22
Data Link Protocols in Data Communication DC22koolkampus
 
Calculating the hamming code
Calculating the hamming codeCalculating the hamming code
Calculating the hamming code
Umesh Gupta
 
Chapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eChapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eadpeer
 
Data link control
Data link controlData link control
Data link control
Iffat Anjum
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
selvakumar_b1985
 
Error Correction And Hamming Code Ibrar
Error Correction And Hamming Code IbrarError Correction And Hamming Code Ibrar
Error Correction And Hamming Code Ibrar
ibrar562
 
12 symmetric key cryptography
12   symmetric key cryptography12   symmetric key cryptography
12 symmetric key cryptographydrewz lin
 
Distance vector routing algorithm
Distance vector routing algorithmDistance vector routing algorithm
Distance vector routing algorithm
Gaurav Rawat
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
Raji Lakshmi
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layer
adil raja
 
Business and Revenue Models in E-Commerce
Business and Revenue Models in E-CommerceBusiness and Revenue Models in E-Commerce
Business and Revenue Models in E-Commerce
Pranay Panday
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
Siddique Ibrahim
 
Data link layer
Data link layer Data link layer
Data link layer
Mukesh Chinta
 
Digital certificates
Digital certificates Digital certificates
Digital certificates Sheetal Verma
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1CAVC
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket Layer
Naveen Kumar
 

Viewers also liked (20)

Program for hamming code using c
Program for hamming code using cProgram for hamming code using c
Program for hamming code using c
 
Data Link Protocols in Data Communication DC22
Data Link Protocols in Data Communication DC22Data Link Protocols in Data Communication DC22
Data Link Protocols in Data Communication DC22
 
Calculating the hamming code
Calculating the hamming codeCalculating the hamming code
Calculating the hamming code
 
Chapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eChapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9e
 
Data link control
Data link controlData link control
Data link control
 
Framing Protocols
Framing ProtocolsFraming Protocols
Framing Protocols
 
Error Correction And Hamming Code Ibrar
Error Correction And Hamming Code IbrarError Correction And Hamming Code Ibrar
Error Correction And Hamming Code Ibrar
 
12 symmetric key cryptography
12   symmetric key cryptography12   symmetric key cryptography
12 symmetric key cryptography
 
Distance vector routing algorithm
Distance vector routing algorithmDistance vector routing algorithm
Distance vector routing algorithm
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
The Data Link Layer
The Data Link LayerThe Data Link Layer
The Data Link Layer
 
Business and Revenue Models in E-Commerce
Business and Revenue Models in E-CommerceBusiness and Revenue Models in E-Commerce
Business and Revenue Models in E-Commerce
 
Encryption
EncryptionEncryption
Encryption
 
Symmetric and asymmetric key
Symmetric and asymmetric keySymmetric and asymmetric key
Symmetric and asymmetric key
 
Distance vector routing
Distance vector routingDistance vector routing
Distance vector routing
 
Data link layer
Data link layer Data link layer
Data link layer
 
revenue models
revenue modelsrevenue models
revenue models
 
Digital certificates
Digital certificates Digital certificates
Digital certificates
 
Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1Routing Protocols and Concepts - Chapter 1
Routing Protocols and Concepts - Chapter 1
 
Secure Socket Layer
Secure Socket LayerSecure Socket Layer
Secure Socket Layer
 

Similar to Chapter 11 (20)

Bit Oriented Protocols in Data Communication DC23
Bit Oriented Protocols in Data Communication DC23Bit Oriented Protocols in Data Communication DC23
Bit Oriented Protocols in Data Communication DC23
 
Ch11 2
Ch11 2Ch11 2
Ch11 2
 
Ch11 2
Ch11 2Ch11 2
Ch11 2
 
Ch11 1
Ch11 1Ch11 1
Ch11 1
 
Ch11 1
Ch11 1Ch11 1
Ch11 1
 
13 ethernet
13 ethernet13 ethernet
13 ethernet
 
Ch09 2
Ch09 2Ch09 2
Ch09 2
 
Ch09 2
Ch09 2Ch09 2
Ch09 2
 
Pcm pulse codemodulation-2
Pcm pulse codemodulation-2Pcm pulse codemodulation-2
Pcm pulse codemodulation-2
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
Ch12 2
Ch12 2Ch12 2
Ch12 2
 
Ch12 2
Ch12 2Ch12 2
Ch12 2
 
Man
ManMan
Man
 
Ch14
Ch14Ch14
Ch14
 
Ch14
Ch14Ch14
Ch14
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
Ch03 2
Ch03 2Ch03 2
Ch03 2
 
5
55
5
 
Ch08 3
Ch08 3Ch08 3
Ch08 3
 
Ch08 3
Ch08 3Ch08 3
Ch08 3
 

More from bheemsain

Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)bheemsain
 
Last year paper2
Last year paper2Last year paper2
Last year paper2bheemsain
 
Fiber signal degradation final
Fiber  signal degradation finalFiber  signal degradation final
Fiber signal degradation finalbheemsain
 
Ese570 mos theory_p206
Ese570 mos theory_p206Ese570 mos theory_p206
Ese570 mos theory_p206bheemsain
 
Ese570 inv stat12
Ese570 inv stat12Ese570 inv stat12
Ese570 inv stat12bheemsain
 
Ee560 mos theory_p101
Ee560 mos theory_p101Ee560 mos theory_p101
Ee560 mos theory_p101bheemsain
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsbheemsain
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)bheemsain
 
86409 interfacing the keyboard to 8051 microcontroller
86409 interfacing the keyboard to 8051 microcontroller86409 interfacing the keyboard to 8051 microcontroller
86409 interfacing the keyboard to 8051 microcontrollerbheemsain
 
12 multiple access
12 multiple access12 multiple access
12 multiple accessbheemsain
 

More from bheemsain (20)

Wierless networks ch3 (1)
Wierless networks ch3 (1)Wierless networks ch3 (1)
Wierless networks ch3 (1)
 
Last year paper2
Last year paper2Last year paper2
Last year paper2
 
Frame relay
Frame relayFrame relay
Frame relay
 
Foc ppt
Foc pptFoc ppt
Foc ppt
 
Fiber signal degradation final
Fiber  signal degradation finalFiber  signal degradation final
Fiber signal degradation final
 
Ese570 mos theory_p206
Ese570 mos theory_p206Ese570 mos theory_p206
Ese570 mos theory_p206
 
Ese570 inv stat12
Ese570 inv stat12Ese570 inv stat12
Ese570 inv stat12
 
Ee560 mos theory_p101
Ee560 mos theory_p101Ee560 mos theory_p101
Ee560 mos theory_p101
 
Chapter 10
Chapter 10Chapter 10
Chapter 10
 
Ch07 2
Ch07 2Ch07 2
Ch07 2
 
Ch07 1
Ch07 1Ch07 1
Ch07 1
 
Ch03 1
Ch03 1Ch03 1
Ch03 1
 
Ch02 2
Ch02 2Ch02 2
Ch02 2
 
Ch02 1
Ch02 1Ch02 1
Ch02 1
 
Ch01
Ch01Ch01
Ch01
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallings
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)
 
86409 interfacing the keyboard to 8051 microcontroller
86409 interfacing the keyboard to 8051 microcontroller86409 interfacing the keyboard to 8051 microcontroller
86409 interfacing the keyboard to 8051 microcontroller
 
802.11
802.11802.11
802.11
 
12 multiple access
12 multiple access12 multiple access
12 multiple access
 

Chapter 11

  • 1. Chapter 11 Data Link Protocols • Asynchronous Protocols • Synchronous Protocols • Character-Oriented Protocols • Bit-Oriented Protocols WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 2. Figure 11-1 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 3. Figure 11-2 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 4. Figure 11-3 XMODEM XMODEM is Half Duplex stop-and-wait ARQ protocol. Transmissison begins after sending NAK frame by receiver. CAN signal aborts the transmission. WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 5. Figure 11-4 OR Byte oriented protocols WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 6. Figure 11-5 BSC-BINARY SYNCHRONOUS COMMUNICATION WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 7. Figure 11-6 Simple BSC Frame WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 8. Figure 11-7 A Frame with Header WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 9. Figure 11-8 Multiblock Frame WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 10. Figure 11-9 Multiframe Transmission WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 11. Figure 11-10 Control Frame Contains control characters but no data. Used to send commands or get information from other device. WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 12. Figure 11-11 Control Frames WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 13. Figure 11-11-continued Control Frames WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 14. Figure 11-11-continued Control Frames WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 15. Figure 11-12 Byte Stuffing DATA LINK ESCAPE WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 16. Figure 11-13 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 17. Figure 11-14 HDLC Configuration WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 18. Figure 11-14-continued HDLC Configuration WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 19. Figure 11-14-continued HDLC Configuration WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 20. Figure 11-15 HDLC Modes NRM- NORMAL RESPONSE MODE ARM- ASYNCHRONOUS RESPONSE MODE ABM- ASYNCHRONOUS BALANCED MODE WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 21. Figure 11-16 HDLC Frame Types INFORMATION FRAME WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 22. Figure 11-16-continued HDLC Frame Types SUPERVISORY FRAME WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 23. Figure 11-16-continued HDLC Frame Types UNNUMBERED FRAME WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 24. Figure 11-17 HDLC Flag Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 25. Figure 11-18 Bit Stuffing WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 26. Figure 11-19 HDLC Address Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 27. Figure 11-20 HDLC Control Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 28. Figure 11-21 Poll/Final WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 29. Figure 11-22 HDLC Information Field Combining data to be sent with acknowledgement of the frame Received in one single frame is called piggybacking. WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 30. Figure 11-23 HDLC FCS Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 31. Figure 11-24 WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 32. Figure 11-25 Use of P/F Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 33. Figure 11-25-continued Use of P/F Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 34. Figure 11-25-continued Use of P/F Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 35. Figure 11-25-continued Use of P/F Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 36. Figure 11-25-continued Use of P/F Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 37. Figure 11-26 U-Frame Control Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 38. Figure 11-26-continued U-Frame Control Field WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 39. Figure 11-27 Polling Example WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 40. Figure 11-28 Selecting Example WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 41. Figure 11-29 Peer-to-Peer Example WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998
  • 42. Figure 11-29-continued Peer-to-Peer Example WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998