Professional Documents
Culture Documents
! High-level Data Link Control (HDLC) - ISO ! Advanced Data Communications Control Procedures
(ADCCP) - ANSI
! Synchronous Data Link Control (SDLC) - IBM ! Link Access Procedure, Balanced (LAPB) - ITU-T (for
X.25)
DataLink2-1
HDLC
! Type of Stations:
1. Primary (issues commands) 2. Secondary (issues responses) 3. Combined
! Link Configurations:
1. Unbalanced: Consists of one primary and one or more secondaries. 2. Balanced: Consists of tw o combined stations only.
DataLink2-2
DataLink2-3
DataLink2-4
N(R) N(R) 0
1 1 1
0 1 1
0 0 1
1 1 1
P F P
Unnumbered
0 0 0
1 1 0
0 1 0
P F F P F F P P P F P F P F
0 0 0
0 0 1
1 1 1
1 1 1
1 1 0 0 1 1
0 0 0 0 0 1
0 0 1 0 1 1
0 1 0 0 1 0
1 1 0 0 1 0
1 1 1 1 1 1
1 1 1 1 1 1
DataLink2-5
RR (Receive Ready)
RR (Receive Ready)
Supervisory
DataLink2-6
DataLink2-7
2. S-Frames: Used for both flow control and error control a) Receive Ready (RR)
DataLink2-8
3. U-Frames: Categories:
! Mode Setting
SNRM, SNRME, SARM, SARME, SABM, SABME UA, DM RIM, SIM RD, DISC
! Information Transfer
UP UI
! Recovery
FRMR, RSET - Invalid Control Field - Data Field Too Long - Data Field Not Allow ed With Received Frame Type - Invalid Receive Count
! Miscellaneous
XID TEST
DataLink2-9
HDLC Command/Response Repertoire Options Basic Repertoire: Commands: I, RR, RNR, (SNRM or SARM or SABM), DISC Responses: I, RR, RNR, UA, DM, FRMR Functional Extensions (Options): 1. For Sw itched Circuits Commands: ADD - XID; Responses: ADD - XID, RD 2. For 2-w ay Simultaneous Commands & Responses: ADD - REJ 3. For Single Frame Retransmission Commands & Responses: ADD - SREJ 4. For Information Commands & Responses: ADD - UI 5. For Initialization Commands: ADD - SIM; Responses: ADD - RIM 6. For Group Polling Commands: ADD - UP 7. Extended Addressing 8. Delete Response I Frames 9. Delete Command I Frames 10. Extended Numbering 11. For Mode Reset (ABM only) Commands: ADD - RSET 12. Data Link Test Commands & Responses: ADD - TEST 13. Request Disconnect Responses: ADD - RD 14. 32-bit FCS
DataLink2-10
DataLink2-11
DataLink2-12
DataLink2-13
DataLink2-14
Busy Condition
DataLink2-15
Reject Recovery
DataLink2-16
DataLink2-17
Timeout Recovery
DataLink2-18
! LAPB Addresses:
DataLink2-19
DataLink2-20
DataLink2-21
DataLink2-22
DataLink2-23
! The PPP frame format is similar to HDLC. ! The address and control fields are alw ays constant. ! The Protocol field indicates w hat kind of packet is in
the Payload field (e.g., LCP, NCP, IP, IPX, AppleTalk, etc.)
DataLink2-24
- Code: Defines the type of LCP packet. - ID: Value used to match a request w ith a response.
DataLink2-25
The Password Authentication Protocol (PAP) ! Authentication means validating a user w ho needs to access a set of resources. ! PPP has tw o protocols for authentication: Passw ord Authentication Protocol (PAP) and Challenge Handshake Authentication Protocol (CHAP).
! PAP:
DataLink2-26
Challenge Handshake Authentication Protocol (CHAP) ! CHAP - 3-w ay handshake (passw ord is never sent):
DataLink2-27
DataLink2-28
! Note:
DataLink2-29
DataLink2-30