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

1. introduction data comm
1. introduction data comm1. introduction data comm
1. introduction data commHumayoun Kabir
 
Packet Switching and X.25 Protocol
Packet Switching and X.25 ProtocolPacket Switching and X.25 Protocol
Packet Switching and X.25 ProtocolMiles Kevin Galario
 
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJA
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJASOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJA
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJAvtunotesbysree
 
Computer networks wireless lan,ieee-802.11,bluetooth
Computer networks  wireless lan,ieee-802.11,bluetoothComputer networks  wireless lan,ieee-802.11,bluetooth
Computer networks wireless lan,ieee-802.11,bluetoothDeepak John
 
Lte protocol Stack
Lte protocol StackLte protocol Stack
Lte protocol StackShoeb Ahmed
 
Complete umts call flow
Complete umts call flowComplete umts call flow
Complete umts call flowsivakumar D
 
WCDMA Air Interface
WCDMA Air InterfaceWCDMA Air Interface
WCDMA Air InterfaceSujeet Kumar
 
High-level Data Link Control
High-level Data Link Control High-level Data Link Control
High-level Data Link Control wajahat Gul
 
LTE introduction part1
LTE introduction part1LTE introduction part1
LTE introduction part1Pei-Che Chang
 
9. data link layer error correction codes - hamming code
9. data link layer   error correction codes - hamming code9. data link layer   error correction codes - hamming code
9. data link layer error correction codes - hamming codeJAIGANESH SEKAR
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link LayerMeenakshi Paul
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link LayerAbdullaziz Tagawy
 
Data Communications and Computer Networks
Data Communications and Computer Networks Data Communications and Computer Networks
Data Communications and Computer Networks Jubayer Alam Shoikat
 

What's hot (20)

Chapter 25
Chapter 25Chapter 25
Chapter 25
 
1. introduction data comm
1. introduction data comm1. introduction data comm
1. introduction data comm
 
Packet Switching and X.25 Protocol
Packet Switching and X.25 ProtocolPacket Switching and X.25 Protocol
Packet Switching and X.25 Protocol
 
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJA
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJASOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJA
SOLUTION MANUAL OF COMMUNICATION NETWORKS BY ALBERTO LEON GARCIA & INDRA WIDJAJA
 
Computer networks wireless lan,ieee-802.11,bluetooth
Computer networks  wireless lan,ieee-802.11,bluetoothComputer networks  wireless lan,ieee-802.11,bluetooth
Computer networks wireless lan,ieee-802.11,bluetooth
 
Lte protocol Stack
Lte protocol StackLte protocol Stack
Lte protocol Stack
 
X.25 NETWORK PPROTOCOL
X.25 NETWORK PPROTOCOLX.25 NETWORK PPROTOCOL
X.25 NETWORK PPROTOCOL
 
X.25 and frame relay
X.25 and frame relayX.25 and frame relay
X.25 and frame relay
 
Complete umts call flow
Complete umts call flowComplete umts call flow
Complete umts call flow
 
Lte channel
Lte channelLte channel
Lte channel
 
WLAN
WLANWLAN
WLAN
 
WCDMA Air Interface
WCDMA Air InterfaceWCDMA Air Interface
WCDMA Air Interface
 
High-level Data Link Control
High-level Data Link Control High-level Data Link Control
High-level Data Link Control
 
HDLC
HDLCHDLC
HDLC
 
LTE introduction part1
LTE introduction part1LTE introduction part1
LTE introduction part1
 
9. data link layer error correction codes - hamming code
9. data link layer   error correction codes - hamming code9. data link layer   error correction codes - hamming code
9. data link layer error correction codes - hamming code
 
X.25 protocol
X.25 protocolX.25 protocol
X.25 protocol
 
Introduction to the Data Link Layer
Introduction to the Data Link LayerIntroduction to the Data Link Layer
Introduction to the Data Link Layer
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Data Communications and Computer Networks
Data Communications and Computer Networks Data Communications and Computer Networks
Data Communications and Computer Networks
 

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
 
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
 
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 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

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
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
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
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
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(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
 

Recently uploaded (20)

Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
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
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
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...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
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
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(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...
 

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