Every time you open a website, send an email or log in to a router, an application-layer protocol does the real work. A protocol is a set of rules that both sides agree on, like a shared language. These protocols run on top of TCP or UDP, and each server listens on a well-known port number, so a device knows which application a packet belongs to.
- 1. The web: the laptop asks the web server for a page over HTTPS (TCP 443).
- 2. Email: the email app sends a message to the mail server with SMTP (TCP 587).
- 3. Remote access: an engineer logs in to R1 with SSH (TCP 22) to change its settings.
- 4. Monitoring: R1 reports an event to the monitoring server with Syslog (UDP 514).
What you'll learn
How the web works
HTTP requests and responses, status codes and how TLS turns HTTP into HTTPS.
Reach and manage devices
Log in with SSH instead of Telnet, and move files and IOS images with FTP, SFTP and TFTP.
Follow an email
How SMTP carries a message between servers, and how POP3 and IMAP let you read it.
Run a healthy network
Keep device clocks in sync with NTP, and monitor devices with SNMP and Syslog.
Skills you'll gain
- HTTP
- HTTPS & TLS
- SSH
- Telnet
- FTP & TFTP
- SMTP
- POP3 & IMAP
- NTP
- SNMP
- Syslog
- Port numbers
Who is this for?
This course is for CCNA students and anyone new to networking. You should already know what an IP address is and the difference between TCP and UDP. If not, start with the TCP & UDP course.
Related protocols
Two more protocols you meet every day have their own lessons, because they need a little more space:
- DNS turns names like example.com into IP addresses. Almost every protocol in this course starts with a DNS lookup.
- DHCP automatically gives a device its IP address, subnet mask, default gateway and DNS server when it joins the network.
Quick reference: ports
| Protocol | Port | Transport | Purpose |
|---|---|---|---|
| HTTP | 80 | TCP | Web pages, no encryption |
| HTTPS | 443 | TCP | Web pages over TLS |
| SSH / SFTP | 22 | TCP | Encrypted remote login and file transfer |
| Telnet | 23 | TCP | Remote login in clear text (legacy) |
| FTP | 21 (control), 20 (active data) | TCP | File transfer |
| TFTP | 69 | UDP | Simple file transfer, no login |
| SMTP | 25 / 587 / 465 | TCP | Sending and relaying email |
| POP3 | 110 / 995 | TCP | Downloading email to one device |
| IMAP | 143 / 993 | TCP | Reading email kept on the server |
| NTP | 123 | UDP | Time synchronisation |
| SNMP | 161 (polls), 162 (traps) | UDP | Monitoring devices |
| Syslog | 514 | UDP | Sending log messages |
| DNS | 53 | UDP / TCP | Names to IP addresses |
| DHCP | 67 / 68 | UDP | Automatic IP settings |