Documente Academic
Documente Profesional
Documente Cultură
network's communications protocol which ensures that frames are error free and executed in the right sequence.
LAPF is formally defined in the International Telecommunication Union standard Q.922. It was derived
from IBM's Synchronous Data Link Control protocol, which is the layer 2 protocol for IBM's Systems Network
Architecture developed around 1975. ITU used SDLC as a basis to develop LAPF for the frame relay environment,
along with other equivalents: LAPB for the X.25 protocol stack, LAPM for the V.42 protocol, and LAPD for
the ISDN protocol stack.
In Frame Relay Local Management Interface (LMI) messages are carried in a variant of LAPF frames.
LAPF
Frame Relay technology provides second layer functions such as framing, error control, and sequence control, and support
for third layer functionality such as addressing and multiplexing. This is the core functionality of LAPF, which is defined in
Recommendation Q.922. The protocol allows statistical multiplexing of one or more frame connections over a single
channel. LAPF can be used over Frame Relay to provide end-to-end error and flow control. LAPF defines core functions and
full functionality. The core LAPF is used for Frame Relay, and full LAPF (core LAPF and control LAPF) is used for frame
switching.
LAPF Core Protocol and the T1.618 (Q.922 Annex A) Frame Format
LAPF core functions are organized around five elementary procedures:
Frame Relay must provide services to delimit and align frames and provide transparency of the frame flags with
zero-bit stuffing and unstuffing.
Frame Relay must support virtual circuit multiplexing and demultiplexing through the use of the data-link
connection identifier (DLCI) field in the frame.
The system must inspect the frame to ensure that it aligns itself on an integer number of octets, prior to zero bit
insertion and following the unstuffing of the zero bit.
The system must inspect the frame to ensure that it does not exceed the maximum and minimum frame size (the
frame sizes are established by the service provider).
The systems must be able to detect transmission errors through the use of the Frame Check Sequence (FCS)
field.
The core LAPF protocol uses simple logic. The first check of the incoming frame is for a valid/not valid frame. If the frame is
valid, the LAPF core checks the known/unknown DLCI. If it is OK, the frame proceeds further. However, a Frame Relay
network drops erroneous and non-erroneous frames. The first group of erroneous frames is dropped regardless of the
condition of the network and includes packets without opening and closing flag fields, frames with the wrong DLCI, larger
and smaller than expected frames, and frames with a FCS error. The second group of drops are frames with DE = 1, if there
is network congestion. A third group of non-erroneous frames can be discarded randomly during periods of congestion.
Control Field
In Figure 14-7 and Figure 14-8, two formats of Q.922 are shown. The only difference between the core format and the
control protocol format is the control field. The control field has the same format and identical functionality as the Link Access
Procedure on the D channel (LAPD) field. The control protocol provides the functions of error and flow control that are
missing from the LAPF core protocol.
Figure 14-7 LAPF Frame Formats; Frame Relay with End-to-End LAPF Control