LAPB

LAPB

LAPB (Link Access Procedure, Balanced) is a data link layer protocol in the X.25 protocol stack. LAPB is a bit-oriented protocol derived from HDLC that ensures that frames are error free and in the right sequence. LAPB is specified in [http://www.itu.int/rec/T-REC-X.25/en/ ITU-T Recommendation X.25] and ISO/IEC 7776.

Link Access Procedure, Balanced (LAPB) is used to manage communication and packet framing between data terminal equipment (DTE) and the data circuit-terminating equipment (DCE) devices in the X.25 protocol stack. LAPB is essentially HDLC in Asynchronous Balanced Mode (ABM). LAPB sessions can be established by either the DTE or DCE. The station initiating the call is determined to be the primary, and the responding station is the secondary.

In LAPB, since there is no master/slave relationship, the sender uses the Poll bit in command frames to insist on an immediate response. In the response frame this same bit becomes the receivers Final bit. The receiver always turns on the Final bit in its response to a command from the sender with the Poll bit set. The P/F bit is generally used when either end becomes unsure about proper frame sequencing because of a possible missing acknowledgement, and it is necessary to re-establish a point of reference. It is also used to trigger an acknowledgement of outstanding I-frames.

LAPB's Frame Types:

I-Frames (Information frames): Carries upper-layer information and some control information. I-frame functions include sequencing, flow control, and error detection and recovery. I-frames carry send and receive sequence numbers.

S-Frames (Supervisory Frames): Carries control information. S-frame functions include requesting and suspending transmissions, reporting on status, and acknowledging the receipt of I-frames. S-frames carry only receive sequence numbers.

U-Frames (Unnumbered Frames): carries control information. U-frame functions include link setup and disconnection, as well as error reporting. U-frames carry no sequence numbers

Protocol structure

The format of LAPB frame is as follows:

Flag - The value of the flag is always 0x7E. In order to ensure that the bit pattern of the frame delimiter flag does not appear in the data field of the frame (and therefore cause frame misalignment), a technique known as Bit stuffing is used by both the transmitter and the receiver.

Address field - In LAPB, this field has no meaning since the protocol works in a point to point mode and the DTE network address is represented in the layer 3 packets. This byte is therefore put to a different use; it separates the link commands from the responses and can have only two values: 0x01 and 0x03. 01 identifies frames containing commands from DTE to DCE and responses to these commands from DCE to DTE. 03 is used for frames containing commands from DCE to DTE and for responses from DTE to DCE. Therefore, one side must be configured as a Layer 2 DTE and the other as a Layer 2 DCE (you must not confuse this with the more familiar Layer 1 DCE and DTE designations).

Control field - it serves to identify the type of the frame. In addition, it includes sequence numbers, control features and error tracking according to the frame type.

Modes of operation - LAPB works in the Asynchronous Balanced Mode (ABM). This mode is balanced (i.e., no master/slave relationship) and is signified by the SABM(E)/SM frame. Each station may initialize, supervise, recover from errors, and send frames at any time. The DTE and DCE are treated as equals.

FCS - The Frame Check Sequence enables a high level of physical error control by allowing the integrity of the transmitted frame data to be checked.

Window size - LAPB supports an extended window size (modulo 128 and modulo 32768) where the maximum number of outstanding frames for acknowledgment is raised from 7 (modulo 8) to 127 (modulo 128) and 32767 (modulo 32768). [ [http://www.itu.int/rec/T-REC-X.25-199610-I/en/ ITU-T Recommendation X.25 (10/96)] , p. 35.]

Related Protocols
LAPB , ISDN , X.25, Frame Relay , SDLC , HDLC

LAPB address

The following table shows which addresses are placed into the LAPB frame when issuing commands and responses from DTE to DCE and DCE to DTE using single link operation or multilink operation: [ [http://www.itu.int/rec/T-REC-X.25-199610-I/en/ ITU-T Recommendation X.25 (10/96)] , p. 23.]

Notes

External links

*http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/x25.htm
*http://www2.rad.com/networks/1994/hdlc/hdlc.htm

Bibliography

Computer Communications, by Chaim Zieglier, PhD. Brooklyn College


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • LAPB — (Link Access Procedure, Balanced) es un protocolo de nivel de enlace de datos dentro del conjunto de protocolos de la norma X.25. LAPB está orientado al bit y deriva de HDLC. Es un subconjunto de HDLC, en modo de clase balanceada asíncrona (BAC) …   Wikipedia Español

  • LAPB — (Link Access Procedure, Balanced) es un protocolo de nivel de red dentro del conjunto de protocolos de la norma X.25. LAPB está orientado al bit y deriva de HDLC …   Enciclopedia Universal

  • LAPB —   [Abk. für Link Access Procedure Balanced, dt. »ausgewogene Verbindungs und Zugangsprozedur«], Variante der LAP Protokollfamilie zur bitsynchronen Datenübertragung in der Sicherungsschicht (OSI Schichtenmodell). Dabei sind die kooperierenden… …   Universal-Lexikon

  • LAPB — Link Access Procedure Balanced implémente la couche « lien » définie par le protocole X.25. LAPB est un protocole orienté « bit », dérivé du protocole HDLC ce qui assure que les trames arrivent dans l ordre et sans erreurs.… …   Wikipédia en Français

  • LAPB — Link Access Procedure Balanced (LAPB) ist ein Schicht 2 Protokoll (Link Access Protocol) im Sinne des OSI Schichtenmodells und wird zur Sicherung der Datenübertragung innerhalb der Schicht 2 in X.25 Netzen verwendet. Es ist eine Variante des High …   Deutsch Wikipedia

  • LAPB — Link Access Protocol Balanced (Computing » Telecom) Link Access Protocol Balanced (Governmental » Military) * Link Access Procedures Balanced (Governmental » Military) …   Abbreviations dictionary

  • LAPB — Link Access Procedure B: balanciertes B Kanal Übermittlungsprotokoll …   Acronyms

  • LAPB — Link Access Procedure B: balanciertes B Kanal Übermittlungsprotokoll …   Acronyms von A bis Z

  • LAPB — Link Access Procedure Balanced. This is a form of error control for X.32 packet switched networks …   Dictionary of telecommunications

  • LAPB — abbr. Link Access Procedure Balanced (CCITT, LAP, X.25) comp. abbr. Link Access Procedure Balanced (protocol) acronym Link Access Procedure (Balanced) …   United dictionary of abbreviations and acronyms

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”