Day 4.2 - Application Layer Protocol
Day 4.2 - Application Layer Protocol
2
Application Layer
4.2 – Learning Outcomes
4.2.1 Explain how the functions of the application layer, session layer and
presentation layer work together to provide network services to end
user applications
4.2.2 Explain how web and email protocols operate
4.2.3 Explain how DNS and DHCP operate
Chapter 4.2 – Learning Outcomes
4.2.1 Explain how the functions of the application layer, session layer
and presentation layer work together to provide network services
to end user applications
4.2.2 Explain how web and email protocols operate
4.2.3 Explain how DNS and DHCP operate
Application, Presentation, and Session
Application Layer
• The upper three layers of the
OSI model (application,
presentation, and session)
define functions of the TCP/IP
application layer.
• The application layer provides
the interface between the
applications used to
communicate, and the
underlying network over which
messages are transmitted.
• Some of the most widely known
application layer protocols
include HTTP, FTP, TFTP, IMAP
and DNS.
Application, Presentation, and Session
Presentation and Session Layer
The presentation layer has three primary
functions:
• Formatting, or presenting, data at the
source device into a compatible format for
receipt by the destination device
• Compressing data in a way that can be
decompressed by the destination device
• Encrypting data for transmission and
decrypting data upon receipt
4.2.1 Explain how the functions of the application layer, session layer and
presentation layer work together to provide network services to end
user applications
4.2.2 Explain how web and email protocols operate
4.2.3 Explain how DNS and DHCP operate
Web and Email Protocols
Hypertext Transfer Protocol and Hypertext Markup Language
• When a web address or Uniform Resource Locator (URL) is typed into a web browser,
the web browser establishes a connection to the web service. The web service is
running on the server that is using the HTTP protocol.
• To better understand how the web browser and web server interact, examine how a
web page is opened in a browser.
Step 1
The browser interprets the three
parts of the URL:
• http (the protocol or scheme)
• www.cisco.com (the server name)
• index.html (the specific filename
requested)
Web and Email Protocols
Hypertext Transfer Protocol and Hypertext Markup Language
Step 2 Step 3
The browser then checks with a In response to the request, the server sends
name server to convert the HTML code for this web page to the
www.cisco.com into a numeric IP browser.
address, which it uses to connect to
the server.
• HTTP is a request/response
protocol.
• Three common HTTP
message types are:
– GET - A client request for
data.
– POST - Uploads data files to
the web server.
– PUT - Uploads resources or
content to the web server.
• HTTP Secure (HTTPS) protocol
uses encryption and
authentication to secure data.
Web and Email Protocols
Email Protocols
• Email clients communicate with mail
servers to send and receive email.
• Mail servers communicate with other
mail servers to transport messages
from one domain to another.
• Three protocols for email:
– Simple Mail Transfer Protocol (SMTP)
to send email.
– Post Office Protocol (POP) to retrieve
email.
– Internet Message Access Protocol
(IMAP) to retrieve email.
Web and Email Protocols
SMTP Operation
4.2.1 Explain how the functions of the application layer, session layer and
presentation layer work together to provide network services to end
user applications
4.2.2 Explain how web and email protocols operate
4.2.3 Explain how DNS and DHCP operate
IP Addressing Services
Domain Name Service
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Part 3.3
Summary
• Application layer protocols are used to exchange data between programs running on the source and
destination hosts. The presentation layer has three primary functions: formatting, or presenting data,
compressing data, and encrypting data for transmission and decrypting data upon receipt. The session
layer creates and maintains dialogs between source and destination applications.
• In the client/server model, the device requesting the information is called a client and the device
responding to the request is called a server.
• In a P2P network, two or more computers are connected via a network and can share resources without
having a dedicated server.
• The three common HTTP message types are GET, POST, and PUT.
• Email supports three separate protocols for operation: SMTP, POP, and IMAP.
• DNS protocol matches resource names with the required numeric network address.
• DHCP for IPv4 service automates the assignment of IPv4 addresses, subnet masks, gateways, and other
IPv4 networking parameters. The DHCPv6 messages are SOLICIT, ADVERTISE, INFORMATION REQUEST,
and REPLY.
• An FTP client is an application which runs on a computer that is being used to push and pull data from
an FTP server.
• Three functions of SMB messages: start, authenticate, and terminate sessions, control file and printer
access, and allow an application to send or receive messages to or from another device.
| Practice |