Data Link Layer
Data Link Layer
The data link layer is the second layer out of seven layers in the OSI model. The Data Link
Layer’s primary duty is to move the datagram across a specific link. It is the model
which transfers data nodes to nodes. The data links major role is transmitting data or information
error free. It also responsible to organize data into for encoding, decoding, and controlling
incoming and outgoing data and, how devices on the network communicate .
Sdlc uses a primary and secondary architecture. One station is the primary station and the
remaining stations are secondary. Each secondary stations has its own address the nodes send
data received by the primary node . Data is processed only through the primary node.
The primary station role is to,
Establisb control and tear down SDLC conection
Manage connections and poll secondary stations in a specific order to determine whether
they want to transmite data
There are seven data link layer protocols
Synchronous Data Link Protocol (SDLC)
High-Level Data Link Protocol (HDLC)
Serial Line Interface Protocol (SLIP)
Point-to-Point Protocol (PPP)
Link Access Procedure (LAP)
Link Control Protocol (LCP)
Network Control Protocol (NCP)
Each transmission frame on Synchronous Data Link has specific frame format
The format fields are
Flag Field, the Flag (F) is beginning frame that represents beginning of frame. This field
is used to initiate and terminate occurrence of error by regular checking.
Address Field, Address (A) filed follows just after beginning flag. It is used to identifies
and determines secondary station that is transmitting frame. This is done because frame
contains information or data regarding group address, specific address. Broadcast
address, etc.
Control Field, Control © field follows just after address field. It is used to specify
functions of particular frame. This field present three types of formats the unnumbered(u)
format, supervisory(s) format, and information (I) format.
It is required to perform various functions such as to transfer data or information, to control
sequence in which frames are needed to sent and number of frames.
Information Field , Information (I) field follows just after control field. This field is an
optional field that mainly contains information data. The data is needed to be transmitted
on data link is present in this field.
FCS Field, Frame Check Sequence (FCS) field follows just after information field. This
field especially allows and grants permission to receiving stations to simply ensure and
check transmission accuracy of frame. This field simply checks received frame for any
kind of error that might have been occurred by link connection.
Ending Flag Field, This field indicates ending of frame
Key features of SDLC is it operates independently on each communications link. It can also mix
full-duplex primary stations and half-duplex secondary stations on four-wire circuits to help
lower the cost of dedicated facilities.
What are some SDLC connection configurations?
SDLC supports numerous connection configurations, topologies and data links like
Point-to-point, There are only two nodes: primary and secondary.
Multipoint, This includes one primary node and multiple secondary nodes.
Loop, The first node (primary) is connected to the secondary nodes and has two nodes on
either side.
Ring topologies are also possible in SDLC. Here, a primary node controls a ring of
secondary nodes and is itself part of this ring.
As a conclusion SDLC simplifies the data control process into a basic pattern. Data moves from
the higher layers to the lower layers and eventually reaches the communication port. SDLC is the
primary protocol and is vital in the entire layering and data transfer process.
2. High-Level Data Link Control (HDLC)
High level data Layer 2 WAN Encapsulation Protocol that we use it on Synchronous data
links .High level data link control basically provides reliable delivery of data frames over a
network or communication link. HDLC provides various operations such as framing, data
transparency, error detection, and correction, and even flow control. Primary stations simply
transmit commands that contain address of secondary stations. The secondary station then simply
transmits responses that contain the primary address. Lastly, there is no Authentication
mechanism in HDLC. So, security is a concern for this WAN protocol
HDLC frame types
There are three types of HDLC frames this are,
• Information frames (I-frames), which transmit user data from the computer
network layer and incorporate error control information with the data. I-frames
also contain control fields used to define data functions.
• Supervisory frames (S-frames), which transmit error and Flow control data
whenever it becomes impossible to “piggyback” on transmitted data. For this
reason, S-frames don’t contain information fields.
• Unnumbered frames (U-frames), which are for all other miscellaneous purposes,
including link management. Some of these contain information fields, and others
do not.