SlideShare une entreprise Scribd logo
1  sur  16
Lecture 04
Data-Link Protocols
Prepared by: Engr. Jeffrey Des B. Binwag

Chapter 23
Electronic Communications Sytems , Fifth Editon
By: Wayne Tomasi
ECE @Saint Louis University, Baguio City

1
SDLC LOOP OPERATION

Tx
1
1
1

SDLC Loop controller Primary
Station

Rx

A

B

N

TA
A’
B’

GA

Idle 1’s

N’

TA

Go Ahead (Consecutive Logic 1’s)

GA

N

Turnaround (8 Logic 0’s)

B

Primary Data Frames

A

Copies
Frame N

Secondary Data Frames

Line Control Unit
Station N
Rx
A

Rx
Line Control Unit
Station A
Tx

Tx

B

Copies
Frame A

N
TA

1
1
1
1

GA

Copies
Frame B
A’

TA

N

B

A

Rx

Line Control Unit
Station B

ECE @Saint Louis University, Baguio City

A’
B’
Tx

GA

2
SDLC LOOP OPERATION
1. Primary transmits sequential frames to one or more
secondary stations.
2. Each transmitted frame contains a secondary station
address.
3. After a primary has completed transmitting, it follows the
last flag of the last frame with eight consecutive logic 0’s
(turnaround sequence) followed by continuous logic 1’s (goahead sequence.
4. The turnaround sequence alerts secondary stations of the
end of the primary’s transmissions.
5. Each secondary, in turn, decodes the address field of each
frame and removes frames addressed to them.
6. Secondary stations serve as repeaters for any down-line
secondary stations.
ECE @Saint Louis University, Baguio City

3
SDLC LOOP OPERATION
7. Secondary stations cannot transmit frames of their own
unless they receive a frame with the P bit set.
8. The first secondary station that receives a frame addressed
to it with the P bit set changes the seventh logic 1 in the goahead sequence to a logic 0, thus creating a flag.
9. The next down-loop secondary station that receives a
frame addressed to it with the P bit set detects the
turnaround sequence, any frames transmitted by other uploop secondary stations, and then the go-ahead sequence.
10. Each secondary station’s response frames are inserted
immediately after the turnaround sequence or after a
secondary response from an up-loop station.
11. The cycle is completed when the primary receives its own
turnaround sequence, a series of response frames, and the
go-ahead sequence
ECE @Saint Louis University, Baguio City

4
SDLC LOOP CONFIGURE COMMAND/RESPONSE
•
•
•
•

An unnumbered command/response (CFGR) that is used only in
SDLC loop configurations.
Contains a one byte descriptor in the information field.
A CFGR command is acknowledged by a CFGR response.
If the low order bit of the function descriptor is set, a specified
command is initiated, if reset the command is cleared

CFGR Subcommands
Clear
Beacon Test
Monitor Mode
Wrap
Self-test
Modified Link Test

00000000
0000000X
0000010X
0000100X
0000101X

0000110X
ECE @Saint Louis University, Baguio City

5
SDLC LOOP CONFIGURE COMMAND/RESPONSE
The following CFGR subcommands from the primary to the
secondary will cause the secondary to perform the following:

• CLEAR. Clear all previously set functions
• BEACON TEST. Turn on or turn off its carrier
• MONITOR MODE. Place itself into the monitor (receive
only mode)
• WRAP. Loop its transmissions directly to its receiver input
• SELF-TEST. Initiate a series of internal diagnostic tests
• MODIFIED LINK TEST. Respond to a TEST command with a
TEST response that has an information field containing the
first byte of the TEST command in the information field n
times where the value of n is specified by the system
ECE @Saint Louis University, Baguio City

6
SDLC TRANSPARENCY
• Implemented such that a receiver does not identify a
flag sequence where it is not supposed to be.
• Prevents a transmitted bit sequence to accumulate a
sequence of 01111110 (a flag sequence) which can
possibly occur with any combination of control or
alphanumeric characters
• Implemented using zero-bit insertion or zero stuffing.
• In zero stuffing a zero bit is automatically inserted after
the occurrence of five consecutive logic 1’s except in a
designated flag sequence.
• When five consecutive 1s are received at the receiver
and the next bit is a zero, the zero is automatically
deleted or removed.
ECE @Saint Louis University, Baguio City

7
SDLC TRANSPARENCY
• ZERO BIT INSERTION
Possible Inadvertent Flag

01111110 01101111 11010011 1110001100110101 01111110
Beginning
Flag

Address

Control

Frame Check
Character

Ending
Flag

After zero bit insertion:
01111110 01101111 101010011 11100001100110101 01111110
Beginning
Flag

Address

Control

Frame Check
Character

Ending
Flag

Zero Bits Inserted

ECE @Saint Louis University, Baguio City

8
MESSAGE ABORT
• Used to prematurely terminate an SDLC frame
• Done only to accommodate high-priority
messages, such as emergency link recovery
procedures
• Implemented by sending and detecting exactly
14 consecutive logic 1’s
• Zeros are not inserted in an abort sequence
• Terminates an existing frame and immediately
begins the higher priority frame
ECE @Saint Louis University, Baguio City

9
INVERT-ON-ZERO-ENCODING (NRZI)
• Line encoding where a logic zero causes the encoded
transmission level to invert from its previous state.
• Used to assure clock recovery from a received signal at
the receiver
• Originally intended fro asynchronous modems that do
not have clock recovery capabilities
• The NRZI encoder/ decoder is placed in between the
DTE and DCE

ECE @Saint Louis University, Baguio City

10
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• The name given to several sets of
substandards defined by the ISO in 1975 as a
superset of SDLC including additional
capabilities
• Comprises of three standards for bit-oriented
Data Link Control:
– ISO 3309
– ISO 4335
– ISO 7809

ECE @Saint Louis University, Baguio City

11
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• ISO 3309 SPECIFICATIONS
– Defines the frame structure, delimiting sequence,
transparency mechanism, and error detection method
used with HDLC
– Uses the same Flag field as SDLC
– Uses the same CRC-16 generating sequence as SDLC
as specified by CCITT V.41 although its remainder for
an errorless transmission at the receiver side is F0B8
instead of zero (checksum)
– Offers an optional 32-bit CRC checksum
– Has an option for a virtually limitless extended
addressing format in addition to the standard 8-bit
SDLC address
ECE @Saint Louis University, Baguio City

12
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• HDLC Extended Addressing Field
b0

b0

b0

01111110 0XXXXXXX 0XXXXXXX 1XXXXXXX
st
nd
rd
Beginning
Flag

1 byte

2 byte

3 byte

Three-byte address field

• Unlike ISO, SDLC and HDLC assign the highest order
bit as b0
• If b0 is a logic zero, another address byte is expected
to follow. If b0 is a logic 1 it indicates the last
address byte
ECE @Saint Louis University, Baguio City

13
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• INFORMATION FIELD
– HDLC Permits any number of bits in the
information and also permits the bits to be in
multiples other than 8 bits as long as it is
consistent throughout the HDLC frame

ECE @Saint Louis University, Baguio City

14
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• CONTROL FIELD
– The HDLC control field can be extended to 16 bits, 7
bits for ns and 7 bits for nr therefore allowing up to
127 consecutive unconfirmed frames before an
acknowledgement.
– The supervisory format includes a fourth status
condition which is selective reject (SREJ) for the
combination of 11 on bit positions b4 and b5 which is
a combination previously unused in the SDLC
Supervisory frame control field.
– Selective reject allows the retransmission of only the
frames with errors one frame at a time.
ECE @Saint Louis University, Baguio City

15
HIGH-LEVEL DATA LINK CONTROL (HDLC)
• ADDITIONAL OPERATIONAL MODES
– Asynchronous Response Mode (ARM)
• Allows secondary stations to send unsolicited responses to
the secondary

– Asynchronous Balanced Mode (ABM)
• Allows network operation in a peer-to-peer network
environment where each station connected has equal data
responsibilities and can initiate data transmission without
receiving permission from any other station
• Accomplished through connection on a two-wire line using
ARM for half duplex, or on a four-wire line for full duplex .

– Asynchronous Disconnect Mode (ADM)
• Identical to the normal disconnect mode except that the
secondary can initiate a DM or RIM response at any time
ECE @Saint Louis University, Baguio City

16

Contenu connexe

Tendances

Multiple access techniques
Multiple access techniquesMultiple access techniques
Multiple access techniquesBibhu Prasad
 
08 ue behaviors in idle mode
08 ue behaviors in idle mode08 ue behaviors in idle mode
08 ue behaviors in idle modeMd.Akm Sahansha
 
Complete umts call flow
Complete umts call flowComplete umts call flow
Complete umts call flowsivakumar D
 
lte physical layer overview
 lte physical layer overview lte physical layer overview
lte physical layer overviewPraveen Kumar
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)sonangrai
 
Antennas wave pro frenzel
Antennas wave pro frenzelAntennas wave pro frenzel
Antennas wave pro frenzelPablo Asi
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)asadkhan1327
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Peter R. Egli
 
Link budget calculation
Link budget calculationLink budget calculation
Link budget calculationsitimunirah88
 
Digital cellular networks GSM
Digital cellular networks GSMDigital cellular networks GSM
Digital cellular networks GSMRAVIKIRAN ANANDE
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIPNaveen Kumar
 
Lte power control
Lte power controlLte power control
Lte power controlPranay Akul
 
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 20193G4G
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSDr. SELVAGANESAN S
 

Tendances (20)

Multiple access techniques
Multiple access techniquesMultiple access techniques
Multiple access techniques
 
08 ue behaviors in idle mode
08 ue behaviors in idle mode08 ue behaviors in idle mode
08 ue behaviors in idle mode
 
MIMO OFDM
MIMO OFDMMIMO OFDM
MIMO OFDM
 
Broadcast storm
Broadcast stormBroadcast storm
Broadcast storm
 
Complete umts call flow
Complete umts call flowComplete umts call flow
Complete umts call flow
 
lte physical layer overview
 lte physical layer overview lte physical layer overview
lte physical layer overview
 
HDLC(High level Data Link Control)
HDLC(High level Data Link Control)HDLC(High level Data Link Control)
HDLC(High level Data Link Control)
 
Antennas wave pro frenzel
Antennas wave pro frenzelAntennas wave pro frenzel
Antennas wave pro frenzel
 
Chap 4 (large scale propagation)
Chap 4 (large scale propagation)Chap 4 (large scale propagation)
Chap 4 (large scale propagation)
 
Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)Overview of SCTP (Stream Control Transmission Protocol)
Overview of SCTP (Stream Control Transmission Protocol)
 
Match filter
Match filterMatch filter
Match filter
 
Link budget calculation
Link budget calculationLink budget calculation
Link budget calculation
 
Digital cellular networks GSM
Digital cellular networks GSMDigital cellular networks GSM
Digital cellular networks GSM
 
HDLC, PPP and SLIP
HDLC, PPP and SLIPHDLC, PPP and SLIP
HDLC, PPP and SLIP
 
Lte power control
Lte power controlLte power control
Lte power control
 
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
Prof. Andy Sutton: 5G RAN Architecture Evolution - Jan 2019
 
Ccna notes
Ccna notesCcna notes
Ccna notes
 
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESSComputer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
Computer Networks Unit 2 UNIT II DATA-LINK LAYER & MEDIA ACCESS
 
SCFT report
SCFT reportSCFT report
SCFT report
 
WCDMA
WCDMAWCDMA
WCDMA
 

En vedette

ECE 528T1: Design of Communication Systems Module 3
ECE 528T1:  Design of Communication Systems Module 3ECE 528T1:  Design of Communication Systems Module 3
ECE 528T1: Design of Communication Systems Module 3Jeffrey Des Binwag
 
Datacom module 1: Introduction to Data Communications
Datacom module 1:  Introduction to Data CommunicationsDatacom module 1:  Introduction to Data Communications
Datacom module 1: Introduction to Data CommunicationsJeffrey Des Binwag
 
SLU ECE 528T1: Design of Communication Systems Module 1
SLU ECE 528T1:  Design of Communication Systems Module 1SLU ECE 528T1:  Design of Communication Systems Module 1
SLU ECE 528T1: Design of Communication Systems Module 1Jeffrey Des Binwag
 
Datacom module 2: Data Communication Architecture, Protocols, and Standards
Datacom module 2:  Data Communication Architecture, Protocols, and StandardsDatacom module 2:  Data Communication Architecture, Protocols, and Standards
Datacom module 2: Data Communication Architecture, Protocols, and StandardsJeffrey Des Binwag
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3Jeffrey Des Binwag
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2Jeffrey Des Binwag
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture Jeffrey Des Binwag
 
ECE 528T1: Design of Communication Systems Module 2
ECE 528T1:  Design of Communication Systems Module 2ECE 528T1:  Design of Communication Systems Module 2
ECE 528T1: Design of Communication Systems Module 2Jeffrey Des Binwag
 
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Jeffrey Des Binwag
 
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
Datacom module 3:  Data Communications Circuits, Arrangements, and NetworksDatacom module 3:  Data Communications Circuits, Arrangements, and Networks
Datacom module 3: Data Communications Circuits, Arrangements, and NetworksJeffrey Des Binwag
 
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
 
Datacom module 4: Fundamentals of Data Communication
Datacom module 4:  Fundamentals of Data CommunicationDatacom module 4:  Fundamentals of Data Communication
Datacom module 4: Fundamentals of Data CommunicationJeffrey Des Binwag
 
MetroCONNECT: Ethernet Access Networking
MetroCONNECT: Ethernet Access NetworkingMetroCONNECT: Ethernet Access Networking
MetroCONNECT: Ethernet Access NetworkingMetrodata Limited
 
Metrodata Solutions Catalogue
Metrodata Solutions CatalogueMetrodata Solutions Catalogue
Metrodata Solutions CatalogueMetrodata Limited
 
Triptic curs 2012 2013
Triptic curs 2012 2013Triptic curs 2012 2013
Triptic curs 2012 2013ecoroda99
 
Generic framing procedure
Generic framing procedureGeneric framing procedure
Generic framing procedureSudanshu Gupta
 

En vedette (20)

Data link control protocol(2)
Data link control protocol(2)Data link control protocol(2)
Data link control protocol(2)
 
Data link control protocol(1)
Data link control protocol(1)Data link control protocol(1)
Data link control protocol(1)
 
Psdn and ccitt x series
Psdn and ccitt x seriesPsdn and ccitt x series
Psdn and ccitt x series
 
ECE 528T1: Design of Communication Systems Module 3
ECE 528T1:  Design of Communication Systems Module 3ECE 528T1:  Design of Communication Systems Module 3
ECE 528T1: Design of Communication Systems Module 3
 
Datacom module 1: Introduction to Data Communications
Datacom module 1:  Introduction to Data CommunicationsDatacom module 1:  Introduction to Data Communications
Datacom module 1: Introduction to Data Communications
 
SLU ECE 528T1: Design of Communication Systems Module 1
SLU ECE 528T1:  Design of Communication Systems Module 1SLU ECE 528T1:  Design of Communication Systems Module 1
SLU ECE 528T1: Design of Communication Systems Module 1
 
Datacom module 2: Data Communication Architecture, Protocols, and Standards
Datacom module 2:  Data Communication Architecture, Protocols, and StandardsDatacom module 2:  Data Communication Architecture, Protocols, and Standards
Datacom module 2: Data Communication Architecture, Protocols, and Standards
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3
 
ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2ECESLU Microprocessors lecture 2
ECESLU Microprocessors lecture 2
 
ECESLU Microprocessors lecture
ECESLU Microprocessors lecture ECESLU Microprocessors lecture
ECESLU Microprocessors lecture
 
ECE 528T1: Design of Communication Systems Module 2
ECE 528T1:  Design of Communication Systems Module 2ECE 528T1:  Design of Communication Systems Module 2
ECE 528T1: Design of Communication Systems Module 2
 
Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)Datacom module 5 (UART, USRT, Serial Interface, Modem)
Datacom module 5 (UART, USRT, Serial Interface, Modem)
 
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
Datacom module 3:  Data Communications Circuits, Arrangements, and NetworksDatacom module 3:  Data Communications Circuits, Arrangements, and Networks
Datacom module 3: Data Communications Circuits, Arrangements, and Networks
 
HDLC(high level data link control)
HDLC(high level data link control)HDLC(high level data link control)
HDLC(high level data link control)
 
USB 3.0
USB 3.0USB 3.0
USB 3.0
 
Datacom module 4: Fundamentals of Data Communication
Datacom module 4:  Fundamentals of Data CommunicationDatacom module 4:  Fundamentals of Data Communication
Datacom module 4: Fundamentals of Data Communication
 
MetroCONNECT: Ethernet Access Networking
MetroCONNECT: Ethernet Access NetworkingMetroCONNECT: Ethernet Access Networking
MetroCONNECT: Ethernet Access Networking
 
Metrodata Solutions Catalogue
Metrodata Solutions CatalogueMetrodata Solutions Catalogue
Metrodata Solutions Catalogue
 
Triptic curs 2012 2013
Triptic curs 2012 2013Triptic curs 2012 2013
Triptic curs 2012 2013
 
Generic framing procedure
Generic framing procedureGeneric framing procedure
Generic framing procedure
 

Similaire à Data link control protocol(4)

HDLC & basic protocols
HDLC & basic protocolsHDLC & basic protocols
HDLC & basic protocolsAkhil Kaushik
 
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.
 
a_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppta_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.pptBlackHat41
 
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
 
3a data link layer
3a data link layer 3a data link layer
3a data link layer kavish dani
 
HDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdfHDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdf2O550Sujal
 
Iaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilogIaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilogIaetsd Iaetsd
 
UNIT II.ppt Computer networks protocol explanation
UNIT II.ppt Computer networks protocol explanationUNIT II.ppt Computer networks protocol explanation
UNIT II.ppt Computer networks protocol explanationssuseree2f04
 
CRC AND TRANSMIT ERROR REPORT
CRC AND TRANSMIT ERROR REPORTCRC AND TRANSMIT ERROR REPORT
CRC AND TRANSMIT ERROR REPORTAlex TX
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxODINARARCH
 
CCIE Real LAB TS 1.0 CCIEREALLABWORKBOOK.CO0
CCIE Real LAB TS 1.0  CCIEREALLABWORKBOOK.CO0CCIE Real LAB TS 1.0  CCIEREALLABWORKBOOK.CO0
CCIE Real LAB TS 1.0 CCIEREALLABWORKBOOK.CO0cciereallabworkbooks
 
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COM
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COMCCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COM
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COMcciereallabworkbooks
 

Similaire à Data link control protocol(4) (20)

HDLC & basic protocols
HDLC & basic protocolsHDLC & basic protocols
HDLC & basic protocols
 
Data Link Control
Data Link ControlData Link Control
Data Link Control
 
802.11 Computer Networks
802.11 Computer Networks802.11 Computer Networks
802.11 Computer Networks
 
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
 
Hdlc
HdlcHdlc
Hdlc
 
a_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppta_presentation_on_hdlc_and_dlc_computer.ppt
a_presentation_on_hdlc_and_dlc_computer.ppt
 
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
 
3a data link layer
3a data link layer 3a data link layer
3a data link layer
 
HDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdfHDLC-Protocol-Overview-Presentation.pdf
HDLC-Protocol-Overview-Presentation.pdf
 
Hdlc
HdlcHdlc
Hdlc
 
Iaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilogIaetsd implementation of hdlc protocol using verilog
Iaetsd implementation of hdlc protocol using verilog
 
Ppp
PppPpp
Ppp
 
Unit 2 ppt 3.ppt
Unit 2 ppt 3.pptUnit 2 ppt 3.ppt
Unit 2 ppt 3.ppt
 
I2C
I2CI2C
I2C
 
UNIT II.ppt Computer networks protocol explanation
UNIT II.ppt Computer networks protocol explanationUNIT II.ppt Computer networks protocol explanation
UNIT II.ppt Computer networks protocol explanation
 
CRC AND TRANSMIT ERROR REPORT
CRC AND TRANSMIT ERROR REPORTCRC AND TRANSMIT ERROR REPORT
CRC AND TRANSMIT ERROR REPORT
 
DATA LINK CONTROL.pptx
DATA LINK CONTROL.pptxDATA LINK CONTROL.pptx
DATA LINK CONTROL.pptx
 
CCIE Real LAB TS 1.0 CCIEREALLABWORKBOOK.CO0
CCIE Real LAB TS 1.0  CCIEREALLABWORKBOOK.CO0CCIE Real LAB TS 1.0  CCIEREALLABWORKBOOK.CO0
CCIE Real LAB TS 1.0 CCIEREALLABWORKBOOK.CO0
 
Hdlc
HdlcHdlc
Hdlc
 
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COM
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COMCCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COM
CCIE Real LAB TS 1.3 CCIEREALLABWORKBOOK.COM
 

Dernier

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 

Dernier (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 

Data link control protocol(4)

  • 1. Lecture 04 Data-Link Protocols Prepared by: Engr. Jeffrey Des B. Binwag Chapter 23 Electronic Communications Sytems , Fifth Editon By: Wayne Tomasi ECE @Saint Louis University, Baguio City 1
  • 2. SDLC LOOP OPERATION Tx 1 1 1 SDLC Loop controller Primary Station Rx A B N TA A’ B’ GA Idle 1’s N’ TA Go Ahead (Consecutive Logic 1’s) GA N Turnaround (8 Logic 0’s) B Primary Data Frames A Copies Frame N Secondary Data Frames Line Control Unit Station N Rx A Rx Line Control Unit Station A Tx Tx B Copies Frame A N TA 1 1 1 1 GA Copies Frame B A’ TA N B A Rx Line Control Unit Station B ECE @Saint Louis University, Baguio City A’ B’ Tx GA 2
  • 3. SDLC LOOP OPERATION 1. Primary transmits sequential frames to one or more secondary stations. 2. Each transmitted frame contains a secondary station address. 3. After a primary has completed transmitting, it follows the last flag of the last frame with eight consecutive logic 0’s (turnaround sequence) followed by continuous logic 1’s (goahead sequence. 4. The turnaround sequence alerts secondary stations of the end of the primary’s transmissions. 5. Each secondary, in turn, decodes the address field of each frame and removes frames addressed to them. 6. Secondary stations serve as repeaters for any down-line secondary stations. ECE @Saint Louis University, Baguio City 3
  • 4. SDLC LOOP OPERATION 7. Secondary stations cannot transmit frames of their own unless they receive a frame with the P bit set. 8. The first secondary station that receives a frame addressed to it with the P bit set changes the seventh logic 1 in the goahead sequence to a logic 0, thus creating a flag. 9. The next down-loop secondary station that receives a frame addressed to it with the P bit set detects the turnaround sequence, any frames transmitted by other uploop secondary stations, and then the go-ahead sequence. 10. Each secondary station’s response frames are inserted immediately after the turnaround sequence or after a secondary response from an up-loop station. 11. The cycle is completed when the primary receives its own turnaround sequence, a series of response frames, and the go-ahead sequence ECE @Saint Louis University, Baguio City 4
  • 5. SDLC LOOP CONFIGURE COMMAND/RESPONSE • • • • An unnumbered command/response (CFGR) that is used only in SDLC loop configurations. Contains a one byte descriptor in the information field. A CFGR command is acknowledged by a CFGR response. If the low order bit of the function descriptor is set, a specified command is initiated, if reset the command is cleared CFGR Subcommands Clear Beacon Test Monitor Mode Wrap Self-test Modified Link Test 00000000 0000000X 0000010X 0000100X 0000101X 0000110X ECE @Saint Louis University, Baguio City 5
  • 6. SDLC LOOP CONFIGURE COMMAND/RESPONSE The following CFGR subcommands from the primary to the secondary will cause the secondary to perform the following: • CLEAR. Clear all previously set functions • BEACON TEST. Turn on or turn off its carrier • MONITOR MODE. Place itself into the monitor (receive only mode) • WRAP. Loop its transmissions directly to its receiver input • SELF-TEST. Initiate a series of internal diagnostic tests • MODIFIED LINK TEST. Respond to a TEST command with a TEST response that has an information field containing the first byte of the TEST command in the information field n times where the value of n is specified by the system ECE @Saint Louis University, Baguio City 6
  • 7. SDLC TRANSPARENCY • Implemented such that a receiver does not identify a flag sequence where it is not supposed to be. • Prevents a transmitted bit sequence to accumulate a sequence of 01111110 (a flag sequence) which can possibly occur with any combination of control or alphanumeric characters • Implemented using zero-bit insertion or zero stuffing. • In zero stuffing a zero bit is automatically inserted after the occurrence of five consecutive logic 1’s except in a designated flag sequence. • When five consecutive 1s are received at the receiver and the next bit is a zero, the zero is automatically deleted or removed. ECE @Saint Louis University, Baguio City 7
  • 8. SDLC TRANSPARENCY • ZERO BIT INSERTION Possible Inadvertent Flag 01111110 01101111 11010011 1110001100110101 01111110 Beginning Flag Address Control Frame Check Character Ending Flag After zero bit insertion: 01111110 01101111 101010011 11100001100110101 01111110 Beginning Flag Address Control Frame Check Character Ending Flag Zero Bits Inserted ECE @Saint Louis University, Baguio City 8
  • 9. MESSAGE ABORT • Used to prematurely terminate an SDLC frame • Done only to accommodate high-priority messages, such as emergency link recovery procedures • Implemented by sending and detecting exactly 14 consecutive logic 1’s • Zeros are not inserted in an abort sequence • Terminates an existing frame and immediately begins the higher priority frame ECE @Saint Louis University, Baguio City 9
  • 10. INVERT-ON-ZERO-ENCODING (NRZI) • Line encoding where a logic zero causes the encoded transmission level to invert from its previous state. • Used to assure clock recovery from a received signal at the receiver • Originally intended fro asynchronous modems that do not have clock recovery capabilities • The NRZI encoder/ decoder is placed in between the DTE and DCE ECE @Saint Louis University, Baguio City 10
  • 11. HIGH-LEVEL DATA LINK CONTROL (HDLC) • The name given to several sets of substandards defined by the ISO in 1975 as a superset of SDLC including additional capabilities • Comprises of three standards for bit-oriented Data Link Control: – ISO 3309 – ISO 4335 – ISO 7809 ECE @Saint Louis University, Baguio City 11
  • 12. HIGH-LEVEL DATA LINK CONTROL (HDLC) • ISO 3309 SPECIFICATIONS – Defines the frame structure, delimiting sequence, transparency mechanism, and error detection method used with HDLC – Uses the same Flag field as SDLC – Uses the same CRC-16 generating sequence as SDLC as specified by CCITT V.41 although its remainder for an errorless transmission at the receiver side is F0B8 instead of zero (checksum) – Offers an optional 32-bit CRC checksum – Has an option for a virtually limitless extended addressing format in addition to the standard 8-bit SDLC address ECE @Saint Louis University, Baguio City 12
  • 13. HIGH-LEVEL DATA LINK CONTROL (HDLC) • HDLC Extended Addressing Field b0 b0 b0 01111110 0XXXXXXX 0XXXXXXX 1XXXXXXX st nd rd Beginning Flag 1 byte 2 byte 3 byte Three-byte address field • Unlike ISO, SDLC and HDLC assign the highest order bit as b0 • If b0 is a logic zero, another address byte is expected to follow. If b0 is a logic 1 it indicates the last address byte ECE @Saint Louis University, Baguio City 13
  • 14. HIGH-LEVEL DATA LINK CONTROL (HDLC) • INFORMATION FIELD – HDLC Permits any number of bits in the information and also permits the bits to be in multiples other than 8 bits as long as it is consistent throughout the HDLC frame ECE @Saint Louis University, Baguio City 14
  • 15. HIGH-LEVEL DATA LINK CONTROL (HDLC) • CONTROL FIELD – The HDLC control field can be extended to 16 bits, 7 bits for ns and 7 bits for nr therefore allowing up to 127 consecutive unconfirmed frames before an acknowledgement. – The supervisory format includes a fourth status condition which is selective reject (SREJ) for the combination of 11 on bit positions b4 and b5 which is a combination previously unused in the SDLC Supervisory frame control field. – Selective reject allows the retransmission of only the frames with errors one frame at a time. ECE @Saint Louis University, Baguio City 15
  • 16. HIGH-LEVEL DATA LINK CONTROL (HDLC) • ADDITIONAL OPERATIONAL MODES – Asynchronous Response Mode (ARM) • Allows secondary stations to send unsolicited responses to the secondary – Asynchronous Balanced Mode (ABM) • Allows network operation in a peer-to-peer network environment where each station connected has equal data responsibilities and can initiate data transmission without receiving permission from any other station • Accomplished through connection on a two-wire line using ARM for half duplex, or on a four-wire line for full duplex . – Asynchronous Disconnect Mode (ADM) • Identical to the normal disconnect mode except that the secondary can initiate a DM or RIM response at any time ECE @Saint Louis University, Baguio City 16