Professional Documents
Culture Documents
Lecture 20
11/9/8
1
2
Data Link Protocol
• A DLL protocol is a set of specifications
used to implement the data link layer.
– Asynchronous protocol
• AP treat each character in a bit stream
independently.
– Synchronous protocol
• SP take the whole bit stream and chop it into
characters of equal size.
3
synchronous
11010 00111 10101 10101 10101
Asynchronous
1 0 0 1 0 1 1 0 1 0 1 1 0 0 0
4
Asynchronous protocol
• XMODEM
• YMODEM
• ZMODEM
• BLAST
• Kermit
• Others
5
Synchronous protocol
6
Bit-oriented protocols
• SDLC (synchronous data link control)
• HDLC (High-level data link control)
• LAPs (link access protocol)
• LANs
7
8
9
HDLC Protocol
• It supports both half-duplex and full-duplex
communication over point-to-point and multipoint
links.
• HDLC characterized by:
• Station Type
• Configurations
• Modes of communication
10
Station Type
• Primary station
• Secondary station
• Combined station
11
Configurations
12
Unbalanced Configuration
response response
13
Symmetrical Configuration
Primary secondary
command
response
command
response
secondary Primary
14
Balanced Configuration
combined combined
Command/response
Command/response
15
16
17
18
19
HDLC Modes
NRM ARM ABM
20
21
22
23
24
25
26
27
U-Frame
• Code divide into two sections:
– 2bits prefix before P/F bit
– 3bits suffix after P/F bit
Together, these two segment (5bits) can be used to
create upto 32 different types of U-Frame
1 1 P/F
codes codes 28
U-frame
code code command response
00 001 SNRM
11 011 SNRME
11 000 SARM DM
11 010 SARME
11 100 SABM
11 110 SABME
00 000 UI UI
00 110 UA
00 010 DISC RD (req disconn)
10 000 SIM RIM
00 100 UP
11 001 RSET
11 101 XID XID
10 001 FRMR 29
U-Frame
SNRM Set NRM
SNRME Extended
SARM Set ARM
SARME Extended
SABM Set ABM
SABME Extended
UI Unnumbered information
DM Disconnect mode
DISC Disconnect
SIM Set initialization mode
UP Unnumbered poll
RSET Reset
XID Exchange ID
FRMR Frame reject
30
31