The OSI model organizes network communication into seven conceptual layers. It helps learners understand how applications, protocols, addressing, frames, and physical media work together, and it provides a practical structure for troubleshooting.
The Seven OSI Layers
7. Application
Provides network services used by applications. Examples include HTTP, HTTPS, DNS, SMTP, SSH, and DHCP.
6. Presentation
Represents, translates, encrypts, decrypts, compresses, or decompresses data. TLS and common data formats are often discussed here conceptually.
5. Session
Establishes, manages, and terminates dialogs between applications. In real protocol stacks, session functions may be implemented across several layers.
4. Transport
Provides end-to-end delivery functions such as segmentation, reliability, flow control, and port numbers. TCP and UDP are key examples. The protocol data unit is commonly called a segment for TCP and a datagram for UDP.
3. Network
Handles logical addressing and routing between networks. IPv4, IPv6, and ICMP operate here. Routers and multilayer switches make Layer 3 forwarding decisions. The data unit is a packet.
2. Data Link
Handles local delivery using frames and hardware addresses. Ethernet switching, VLANs, 802.1Q, and STP are common Layer 2 topics. Switches and bridges operate primarily here.
1. Physical
Transmits bits as electrical, optical, or radio signals. Cabling, connectors, frequencies, encoding, and physical interfaces belong here.
Encapsulation
As application data moves down the stack, transport, network, and data-link information is added. A receiving device removes and interprets this information as data moves upward. This process is called encapsulation and de-encapsulation.
OSI vs TCP/IP Model
The OSI model has seven conceptual layers. The TCP/IP model usually groups them into application, transport, internet, and network-access layers. Real networks follow protocol specifications rather than a perfectly rigid OSI separation, but both models remain useful.
Troubleshooting with the OSI Model
- Physical: check power, cables, signal, and interface state.
- Data Link: check VLANs, trunks, MAC learning, and errors.
- Network: check IP configuration, routes, and reachability.
- Transport: check ports, sessions, and firewall rules.
- Upper layers: check DNS, certificates, authentication, and application configuration.
Quick Memory Aid
From Layer 7 to Layer 1: Application, Presentation, Session, Transport, Network, Data Link, Physical. Memorization helps, but understanding the role of each layer is more valuable.
Continue Your CCNA Preparation
Review the application-layer protocol guide and our CCNA questions and answers. For structured practice, see the CCNA 200-301 Premium PDF with the latest available questions and answers.
CiscoForAll provides independent study and practice material. Always use official Cisco documentation as a primary preparation source.