←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

The ISO-OSI 7-Layer Reference Model Architecture & Functions

Study material and explanations for Unit 4

The ISO-OSI 7-Layer Reference Model: Architecture and Layer Functions

Developed by the International Organization for Standardization (ISO) in 1984, the Open Systems Interconnection (OSI) model is a theoretical 7-layer framework that describes how information moves from a software application on one computer, through a physical network medium, to an application on another computer.


1. Easy Mnemonic to Remember the 7 Layers

To remember the 7 layers from top (Layer 7) to bottom (Layer 1):

“All People Seem To Need Data Processing”
A - Application (Layer 7)
P - Presentation (Layer 6)
S - Session (Layer 5)
T - Transport (Layer 4)
N - Network (Layer 3)
D - Data Link (Layer 2)
P - Physical (Layer 1)

(Or from bottom to top: “Please Do Not Throw Sausage Pizza Away”)


2. The 7 Layers and Their Core Duties

The ISO OSI 7-Layer Architecture
L7Application Layer
Network services to user apps: HTTP, FTP, SMTP, DNS
L6Presentation Layer
Translation, Encryption (SSL/TLS), and Data Compression (JPEG/ZIP)
L5Session Layer
Dialog control, session establishment, and Checkpoints/Sync points
L4Transport Layer
End-to-end delivery, Port numbers, Flow & Error control (TCP / UDP)
L3Network Layer
Logical IP addressing and packet Routing across networks (Routers)
L2Data Link Layer
Framing, physical MAC addressing, Hop-to-Hop error control (Switches)
L1Physical Layer
Transmission of raw bits over physical copper/fiber cables (Hubs/Repeaters)

Detailed Functions of Each Layer:

Layer 1: Physical Layer

  • Transmits raw binary bits (0s and 1s) over a physical transmission medium.
  • Defines electrical voltages, cable types, pin layouts (RJ-45), data rates, and transmission modes (Simplex, Half-Duplex, Full-Duplex).
  • Data Unit: Bits.
  • Takes raw bits from Layer 1 and groups them into logical Frames.
  • Handles physical MAC addressing (e.g., 00:1A:2B:3C:4D:5E).
  • Performs Hop-to-Hop error control (CRC) and flow control between two directly connected nodes.
  • Data Unit: Frames.

Layer 3: Network Layer

  • Responsible for Host-to-Host packet delivery across multiple intermediate networks.
  • Handles Logical Addressing (IP addresses) and Routing (finding the shortest, best path using algorithms like Dijkstra).
  • Handles packet fragmentation and reassembly.
  • Data Unit: Packets.

Layer 4: Transport Layer (The Heart of OSI)

  • Responsible for true Process-to-Process (End-to-End) delivery.
  • Uses Port Numbers (e.g., Port 80 for Web, Port 443 for HTTPS) to deliver data to the correct running application.
  • Provides connection-oriented (TCP) or connectionless (UDP) service, flow control, and error recovery.
  • Data Unit: Segments.

Layer 5: Session Layer

  • Establishes, manages, and terminates communication sessions between applications.
  • Dialog Control: Decides who speaks and when (half-duplex or full-duplex).
  • Synchronization (Checkpoints): If a 100-page document download fails at page 72, session checkpoints allow download to resume from page 72 rather than restarting from page 1.

Layer 6: Presentation Layer (The Translator)

  • Deals with the syntax and semantics of the data.
  • Translation: Converts data formats (e.g., ASCII to EBCDIC).
  • Encryption & Decryption: Protects sensitive data (e.g., SSL/TLS encryption for bank transactions).
  • Compression: Reduces the number of bits to transmit (JPEG, MP3, MPEG).

Layer 7: Application Layer

  • The top layer that directly interacts with software applications (Chrome, Outlook, WhatsApp).
  • Provides protocols for web browsing (HTTP/HTTPS), file transfer (FTP), email (SMTP/IMAP), and domain name lookup (DNS).
  • Data Unit: Messages / User Data.

💡 DAVV Exam Tip

Guaranteed 10-Mark Question: “Explain the ISO-OSI 7-layer reference model with a neat diagram. Describe the functions of each layer.”

  • Draw the 7-layer stack diagram with Layer 7 at the top and Layer 1 at the bottom.
  • Write the Data Units: Bits -> Frames -> Packets -> Segments -> Data.
  • Give at least 3 distinct bullet points for every layer.