Professional Documents
Culture Documents
HDLC (Continued)
5/1/2011 1
Objectives
HDLC
o Operation
5/1/2011 2
HDLC Operation
Initialization: Initialization may be requested by either side by issuing one
of the six set-mode commands. This command serves three purposes:
o It signals the other side that initialization is requested.
o It specifies which of the three modes (NRM, ABM, ARM) is requested.
o It specifies whether 3- or 7-bit sequence numbers are to be used
Data Transfer
o Both sides may begin to send user data in I-frames, starting with
sequence number 0
o The N(S) and N(R) fields of the I-frame are sequence numbers that
support flow control and error control
o N(S) is the sequence number of frame
o N(R) is the acknowledgment for I-frames received; it enables the HDLC
module to indicate which number I-frame it expects to receive next.
5/1/2011 3
HDLC Operation
Disconnect
o Either HDLC module can initiate a disconnect
o HDLC issues a disconnect by sending a disconnect (DISC) frame
o The other side must accept the disconnect by replying with a UA.
5/1/2011 4
Examples of Operation (1)
5/1/2011 5
Examples of Operation (2)
5/1/2011 6
References
[1] William Stallings, Data and Computer Communications, Prentice Hall, New
Jersey, 6th ed, 2000, ISBN 0-13-086388-2.
[2] James F. Kurose and Keith W. Ross, Computer Networking A Top-Down
Approach Featuring the Internet, …………………………….
5/1/2011 7