Blog Projects

CCNA theory and notes

14 September 2023

I am pursuing a CCNA (Cisco Certified Network Associate) course and I decided to write my notes in markdown. This website also serves as a great way to easily share my work. These are all my personal writings, so if you find any mistake, don’t hesitate to contact me so I can fix it!

1. Introduction

Types of networks, by model:

Types of networks, by size:

Types of networks, by destination:

Business networks:

Properties of a network:

Type of network attacks:

Networking trends:

Key questions:

2. Communication Protocols

Protocol = a set of rules (such as language, message format, message dimension, transmission speed)

A message protocol may contain the address source, destination source and the rest of the data.

Delivery options:

Protocol stacks: separation of concerns

The TCP/IP stack (simplified):

The OSI stack:

Standard = document that provides information on how a protocol is defined

RFC = Request for Comments (developed by IETF)

IP = Internet protocol

ISO = International Organization for Standardization

IEEE = Institute of Electrical and Electronics Engineers

Transmission methods:

Key questions:

3. IOS Configuration

IOS = Internetwork Operating System, Cisco’s operating system which runs on their devices

Components of an operating system:

Two ways to interact with an OS:

Fun fact: Apple negotiated with Cisco the rights for the name “IOS” since Cisco owns the trademark: link.

IOS Features:

CLI Access:

IOS hierarchy:

IOS has multiple modes, for various configuration use cases

Modes:

Other commands:

Common commands:

PDU = packet data unit

4. Physical layer

The physical layer, the first one of the OSI stack, works with bits.

The PDUs of the OSI stack layers:

HardwareLayerPDU
HubPhysicalBits
SwitchData LinkFrames
RouterNetworkPacket
TransportSegment
SessionSPDU
PresentationPPDU
End DevicesApplicationAPDU

Physical Layer properties:

How it converts the bits as signals:

Network devices:

Specific terms:

Copper cables:

Cabling standard rules:

Cabling types:

Fiber optic:

Fiber vs. Copper:

CrietiriaCopperFiber
bandwidth10Mbps-10Gbps10Mbps-100Gbps
distancesmall(1m-100m)large(1m-100000m)
interferencesEMInope
costlowhigh
instalationeasyhard

Wireless:

Bit encodings:

Responsibilities:

Sublayers:

LAN Topologies:

WAN Topologies:

Enviorment types:

Wireless is half duplex.

Ethernet

MAC Address: switch

IP Address: router

Mac Address:

Types of MAC addresses:

Ethername frame:

Address Resolution Protocol (ARP):

Switches:

CAM Algorithm:

CAM table example:

MAC AddressInterfaceTimer
AF:A1:10:11:FF:BAFa0/1300

Buffering methods:

Collision domains:

Number of broadcast domains = number of networks

6. Network layer

IPv4 & IPv6

IPv4IPv6
Number of bits32128
Number of fields128
Required processingTTL modification & HCS recalculationmodify the Hop limit

How routing works:

Default Gateway:

Routing Table:

IP Addressing

IPv4:

Mask:

Types of addresses:

Example:

Classful addressing:

Private addresses used only in private networks:

ICMP

Types of messages:

Transport layer

portprotocolapplication
20TCPFTP Data
21TCPFTP Control
22TCPSSH
23TCPTelnet
25TCPSMTP
53TCP/UDPDNS
67,68UDPDHCP
69UDPTFTP
80TCPHTTP
110TCPPOP3
443TCPSSL/HTTPS

TCP

UDP