OSI layer in short with example

7. Application layer-Responsible for initiating or services the request.
e.g SMTP, DNS, HTTP, and Telnet

6. Presentation layer-Formats the information so that it is understood by the receiving system
e.g Compression and encryption depending on the implementation

5. Session layer– Responsible for establishing, managing, and terminating the session
e.g NetBIOS

4. Transport layer-Breaks information into segments and is responsible for connection and connectionless communication
e.g TCP and UDP

3. Network layer-Responsible for logical addressing and routing
e.g IP, ICMP, ARP, RIP, IGRP, and routers

2. Data Link layer- Responsible for physical addressing, error correction, and preparing the information for the media
e.g MAC address, CSMA/CD, switches, and bridges

1. Physical layer-Deals with the electrical signal
e.g Cables, connectors, hubs, and repeaters