SlideShare a Scribd company logo
1 of 13
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
HDLC
Configurations and Transfer Modes
 Two Common Modes
 NRM

The station configured as unbalanced .

On primary and multiple secondary stations

A primary station can send commands and secondary
can respond

Used for both point-to-point and multipoint links
 ABM

The configuration is balanced

Link is point to point

Each station can function as primary/secondary
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Frames
 Three types of frames
 I-frames(Information frames)

To transport user data or control information for user
data like piggy backing
 S-frames(Supervisory frames)

To transport Control frames
 U-frames(Unnumbered frames)

For link management
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
11.18 HDLC frame types
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Fields
 Flag Field
 It is an 8-bit sequence with a bit pattern of 01111110
 Identify start and end of the frame
 Serve for the synchronization Bi stuffing is used to avoid the
appearance of this number in that data
 Address field
 Address of the secondary station
 Whether the station is the originator or the destination
 If primary creates the frame it contains “to” otherwise “from”
 It can be 1 or several byte long
 Always the last bit ends with 1
 If more than one byte all byte’s last bit ,except the last byte ,will end
with 0.
 Ethernet does not use primary/secondary environment ,uses two
address fields

Sender address
 Receiver address
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Fields
 Control Field
 1 or 2 byte
 Used for error and flow control
 Interpretation is different for different frame types
 Information Field
 User’s data from the network layer or Network
management information layer
 Length can vary but fixed for one network
 FCS
 Frame check sequence
 It contain 2 or 4 byte ITU-T CRC
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
FRAME TYPES
 I-frame
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
11.20 S-frame control field in HDLC
Cod
e
Types of S-frames Meaning
00 RR Acknowledges a safe receipt of frame /frames
10 RNR Acknowledges the receipt of frames but tells that
receiver is not ready yet to receive further frames
01 REJ Used in Go-back-N to improve the efficiency and
tells about the lost frame to the sender before its
timer expires
11 SREJ Used in selective Repeat
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
11.21 U-frame control field in HDLC
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Table 11.1 U-frame control command and responseTable 11.1 U-frame control command and response
Command/response Meaning
SNRMSNRM Set normal response mode
SNRMESNRME Set normal response mode (extended)
SABMSABM Set asynchronous balanced mode
SABMESABME Set asynchronous balanced mode (extended)
UPUP Unnumbered poll
UIUI Unnumbered information
UAUA Unnumbered acknowledgment
RDRD Request disconnect
DISCDISC Disconnect
DMDM Disconnect mode
RIMRIM Request information mode
SIMSIM Set initialization mode
RSETRSET Reset
XIDXID Exchange ID
FRMRFRMR Frame reject
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Example 3Example 3
Figure 11.22 shows an exchange using piggybacking where is
no error. Station A begins the exchange of information with an
I-frame numbered 0 followed by another I-frame numbered 1.
Station B piggybacks its acknowledgment of both frames onto
an I-frame of its own. Station B’s first I-frame is also
numbered 0 [N(S) field] and contains a 2 in its N(R) field,
acknowledging the receipt of A’s frames 1 and 0 and indicating
that it expects frame 2 to arrive next. Station B transmits its
second and third I-frames (numbered 1 and 2) before accepting
further frames from station A. Its N(R) information, therefore,
has not changed: B frames 1 and 2 indicate that station B is still
expecting A frame 2 to arrive next.
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
11.22 Example 3
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
Example 4Example 4
In Example 3, suppose frame 1 sent from station B to
station A has an error. Station A informs station B to
resend frames 1 and 2 (the system is using the Go-Back-
N mechanism). Station A sends a reject supervisory frame
to announce the error in frame 1. Figure 11.23 shows the
exchange.
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004
11.23 Example 4

More Related Content

What's hot

Flow control and error control
Flow control and error controlFlow control and error control
Flow control and error controlBHUVIJAYAVELU
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)Anand Biradar
 
Switching
Switching Switching
Switching Abid Ali
 
Dcn ppt on data link layer
Dcn ppt on data link layerDcn ppt on data link layer
Dcn ppt on data link layerroma bora
 
Csma(carriers sense-multiple-acess)
Csma(carriers sense-multiple-acess) Csma(carriers sense-multiple-acess)
Csma(carriers sense-multiple-acess) Rajan Kandel
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocolsIffat Anjum
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATMMadhumita Tamhane
 
PPP (Point to Point Protocol)
PPP (Point to Point Protocol)PPP (Point to Point Protocol)
PPP (Point to Point Protocol)Ali Jafar
 
Ethernet,token ring
Ethernet,token ring Ethernet,token ring
Ethernet,token ring Hareem Naz
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference ModelMukesh Tekwani
 
HDLC & basic protocols
HDLC & basic protocolsHDLC & basic protocols
HDLC & basic protocolsAkhil Kaushik
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptshanthishyam
 
Multiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdmaMultiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdmanimay1
 
Contention based MAC protocols
Contention based  MAC protocolsContention based  MAC protocols
Contention based MAC protocolsDarwin Nesakumar
 

What's hot (20)

Flow control and error control
Flow control and error controlFlow control and error control
Flow control and error control
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
Chapter 8: Switching
Chapter 8: SwitchingChapter 8: Switching
Chapter 8: Switching
 
Data link control protocol(1)
Data link control protocol(1)Data link control protocol(1)
Data link control protocol(1)
 
Switching
Switching Switching
Switching
 
Dcn ppt on data link layer
Dcn ppt on data link layerDcn ppt on data link layer
Dcn ppt on data link layer
 
Csma(carriers sense-multiple-acess)
Csma(carriers sense-multiple-acess) Csma(carriers sense-multiple-acess)
Csma(carriers sense-multiple-acess)
 
aloha
alohaaloha
aloha
 
Multicastingand multicast routing protocols
Multicastingand multicast routing protocolsMulticastingand multicast routing protocols
Multicastingand multicast routing protocols
 
Asynchronous Transfer Mode ATM
Asynchronous Transfer Mode  ATMAsynchronous Transfer Mode  ATM
Asynchronous Transfer Mode ATM
 
Multiple access protocol
Multiple access protocolMultiple access protocol
Multiple access protocol
 
PPP (Point to Point Protocol)
PPP (Point to Point Protocol)PPP (Point to Point Protocol)
PPP (Point to Point Protocol)
 
Ethernet,token ring
Ethernet,token ring Ethernet,token ring
Ethernet,token ring
 
TCP-IP Reference Model
TCP-IP Reference ModelTCP-IP Reference Model
TCP-IP Reference Model
 
HDLC & basic protocols
HDLC & basic protocolsHDLC & basic protocols
HDLC & basic protocols
 
Ethernet
EthernetEthernet
Ethernet
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
Multiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdmaMultiplexing, fdma,tdma,cdma
Multiplexing, fdma,tdma,cdma
 
Contention based MAC protocols
Contention based  MAC protocolsContention based  MAC protocols
Contention based MAC protocols
 
DATA-LINK LAYER.ppt
DATA-LINK LAYER.pptDATA-LINK LAYER.ppt
DATA-LINK LAYER.ppt
 

Similar to HDLC Frame Types, Fields and Transfer Modes Explained

Similar to HDLC Frame Types, Fields and Transfer Modes Explained (20)

Hdlc
HdlcHdlc
Hdlc
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
3a data link layer continued
3a data link layer continued3a data link layer continued
3a data link layer continued
 
High level data link control
High level data link controlHigh level data link control
High level data link control
 
Hdlc
HdlcHdlc
Hdlc
 
Hdlc
HdlcHdlc
Hdlc
 
Hdlc
HdlcHdlc
Hdlc
 
Hdlc
HdlcHdlc
Hdlc
 
Ch 11
Ch 11Ch 11
Ch 11
 
data-link layer protocols
data-link layer protocols  data-link layer protocols
data-link layer protocols
 
Internetworking devices
Internetworking devicesInternetworking devices
Internetworking devices
 
Chapter 11: Data Link Control
Chapter 11: Data Link ControlChapter 11: Data Link Control
Chapter 11: Data Link Control
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptx
 
Data link control & protocol concepts
Data link control & protocol conceptsData link control & protocol concepts
Data link control & protocol concepts
 
DLT645 protocol english version
DLT645 protocol english versionDLT645 protocol english version
DLT645 protocol english version
 
Chapter 11
Chapter 11Chapter 11
Chapter 11
 
application layers
application layersapplication layers
application layers
 
Lect21 09-11
Lect21 09-11Lect21 09-11
Lect21 09-11
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIP
 
lecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptxlecture2829atmframerelay-180429142508 (1).pptx
lecture2829atmframerelay-180429142508 (1).pptx
 

More from TechiNerd

Dc chapter 13
Dc chapter   13Dc chapter   13
Dc chapter 13TechiNerd
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and CorrectionTechiNerd
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control ProtocolsTechiNerd
 
Analog Transmissions
Analog TransmissionsAnalog Transmissions
Analog TransmissionsTechiNerd
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital TransmissionTechiNerd
 
Data and Signals
Data and SignalsData and Signals
Data and SignalsTechiNerd
 
Network Models
Network ModelsNetwork Models
Network ModelsTechiNerd
 
Overview of Data Communications and Networking
Overview of Data Communications and NetworkingOverview of Data Communications and Networking
Overview of Data Communications and NetworkingTechiNerd
 
Java Programming For Android
Java Programming For AndroidJava Programming For Android
Java Programming For AndroidTechiNerd
 

More from TechiNerd (9)

Dc chapter 13
Dc chapter   13Dc chapter   13
Dc chapter 13
 
Error Detection and Correction
Error Detection and CorrectionError Detection and Correction
Error Detection and Correction
 
Data Link Control Protocols
Data Link Control ProtocolsData Link Control Protocols
Data Link Control Protocols
 
Analog Transmissions
Analog TransmissionsAnalog Transmissions
Analog Transmissions
 
Digital Transmission
Digital TransmissionDigital Transmission
Digital Transmission
 
Data and Signals
Data and SignalsData and Signals
Data and Signals
 
Network Models
Network ModelsNetwork Models
Network Models
 
Overview of Data Communications and Networking
Overview of Data Communications and NetworkingOverview of Data Communications and Networking
Overview of Data Communications and Networking
 
Java Programming For Android
Java Programming For AndroidJava Programming For Android
Java Programming For Android
 

Recently uploaded

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 

Recently uploaded (20)

HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 

HDLC Frame Types, Fields and Transfer Modes Explained

  • 1. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 HDLC Configurations and Transfer Modes  Two Common Modes  NRM  The station configured as unbalanced .  On primary and multiple secondary stations  A primary station can send commands and secondary can respond  Used for both point-to-point and multipoint links  ABM  The configuration is balanced  Link is point to point  Each station can function as primary/secondary
  • 2. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Frames  Three types of frames  I-frames(Information frames)  To transport user data or control information for user data like piggy backing  S-frames(Supervisory frames)  To transport Control frames  U-frames(Unnumbered frames)  For link management
  • 3. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 11.18 HDLC frame types
  • 4. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Fields  Flag Field  It is an 8-bit sequence with a bit pattern of 01111110  Identify start and end of the frame  Serve for the synchronization Bi stuffing is used to avoid the appearance of this number in that data  Address field  Address of the secondary station  Whether the station is the originator or the destination  If primary creates the frame it contains “to” otherwise “from”  It can be 1 or several byte long  Always the last bit ends with 1  If more than one byte all byte’s last bit ,except the last byte ,will end with 0.  Ethernet does not use primary/secondary environment ,uses two address fields  Sender address  Receiver address
  • 5. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Fields  Control Field  1 or 2 byte  Used for error and flow control  Interpretation is different for different frame types  Information Field  User’s data from the network layer or Network management information layer  Length can vary but fixed for one network  FCS  Frame check sequence  It contain 2 or 4 byte ITU-T CRC
  • 6. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 FRAME TYPES  I-frame
  • 7. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 11.20 S-frame control field in HDLC Cod e Types of S-frames Meaning 00 RR Acknowledges a safe receipt of frame /frames 10 RNR Acknowledges the receipt of frames but tells that receiver is not ready yet to receive further frames 01 REJ Used in Go-back-N to improve the efficiency and tells about the lost frame to the sender before its timer expires 11 SREJ Used in selective Repeat
  • 8. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 11.21 U-frame control field in HDLC
  • 9. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Table 11.1 U-frame control command and responseTable 11.1 U-frame control command and response Command/response Meaning SNRMSNRM Set normal response mode SNRMESNRME Set normal response mode (extended) SABMSABM Set asynchronous balanced mode SABMESABME Set asynchronous balanced mode (extended) UPUP Unnumbered poll UIUI Unnumbered information UAUA Unnumbered acknowledgment RDRD Request disconnect DISCDISC Disconnect DMDM Disconnect mode RIMRIM Request information mode SIMSIM Set initialization mode RSETRSET Reset XIDXID Exchange ID FRMRFRMR Frame reject
  • 10. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Example 3Example 3 Figure 11.22 shows an exchange using piggybacking where is no error. Station A begins the exchange of information with an I-frame numbered 0 followed by another I-frame numbered 1. Station B piggybacks its acknowledgment of both frames onto an I-frame of its own. Station B’s first I-frame is also numbered 0 [N(S) field] and contains a 2 in its N(R) field, acknowledging the receipt of A’s frames 1 and 0 and indicating that it expects frame 2 to arrive next. Station B transmits its second and third I-frames (numbered 1 and 2) before accepting further frames from station A. Its N(R) information, therefore, has not changed: B frames 1 and 2 indicate that station B is still expecting A frame 2 to arrive next.
  • 11. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 11.22 Example 3
  • 12. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 Example 4Example 4 In Example 3, suppose frame 1 sent from station B to station A has an error. Station A informs station B to resend frames 1 and 2 (the system is using the Go-Back- N mechanism). Station A sends a reject supervisory frame to announce the error in frame 1. Figure 11.23 shows the exchange.
  • 13. McGraw-Hill ©The McGraw-Hill Companies, Inc., 2004 11.23 Example 4