Cisco CCNA Comprehensive Study Guide: Modules 1, 2, and 3

Networking Overview and Components

  • Communication is a fundamental human need, as critical as reliance on air, water, food, and shelter. Networks create a world without boundaries, fostering global communities and human connections across physical distances.

  • Host Roles:

    • Every computer connected to a network that participates directly in network communication is classified as a host or end device.

    • Servers: Computers that run specialized software to provide information, services, or resources to other end devices on the network.

    • Email Server: Runs email server software; clients access emails using email client software.

    • Web Server: Runs web server software; clients access web pages using web browser software.

    • File Server: Stores corporate and user files accessed by client devices.

    • Clients: Devices that send requests to servers to retrieve and display information.

  • Peer-to-Peer (P2P) Networks:

    • In a P2P network design, a single computer can function simultaneously as both a client and a server for other devices on the network.

    • Recommended exclusively for small environments due to significant operational limitations.

    • Advantages:

    • Easy to set up

    • Less complex

    • Lower cost

    • Suitable for simple tasks such as transferring files and sharing printers

    • Disadvantages:

    • No centralized administration

    • Not as secure

    • Not scalable

    • Slower performance under heavy use

  • Device Categories:

    • End Devices: The source or destination of a message flowing across the network.

    • Intermediary Devices: Interconnect end devices and ensure data flows across the network infrastructure. Examples include Wireless Access Points, LAN Switches, Routers, Multilayer Switches, and Firewall Appliances.      

      Network Device Icons
    • Functions of Intermediary Devices:

    • Regenerate and retransmit data signals.

    • Maintain routing and pathway information.

    • Notify other network devices of errors or transmission failures.

  • Network Media Types:

    • Metal wires within cables (Copper): Transmits data using electrical impulses.

    • Glass or plastic fibers within cables (Fiber-Optic): Transmits data using pulses of light.

    • Wireless transmission: Transmits data using modulation of specific frequencies of electromagnetic waves.

Network Representations, Topologies, and Types

  • Network Representation Terminology:

    • Network Interface Card (NIC): Provides the physical connection between an end device and the network medium.

    • Physical Port: A connector or outlet on a networking device where media is connected.

    • Interface: Specialized ports on a network device that connect to individual networks.

  • Network Topology Diagrams:

    • Physical Topology Diagram: Illustrates the physical location of intermediary devices, installed cables, and room locations.      

      Physical Topology Diagram
    • Logical Topology Diagram: Illustrates devices, ports, and the logical IP addressing scheme of the network.      

      Logical Topology Diagram
  • Network Sizes:

    • Small Home Networks: Connect a few computers to each other and to the internet.

    • Small Office/Home Office (SOHO): Allows computers in a home or remote office to connect to a corporate network.

    • Medium to Large Networks: Multiple sites with hundreds or thousands of interconnected computers.

    • World Wide Networks: Connects hundreds of millions of computers globally (e.g., the Internet).

  • LANs vs. WANs:

    • Local Area Network (LAN): Spans a limited geographical area (e.g., home, office, school); administered by a single organization or individual; provides high-speed bandwidth to internal end devices.

    • Wide Area Network (WAN): Interconnects LANs across wide geographical areas; managed by one or more service providers; typically provides slower speed links between LANs.

  • The Internet, Intranets, and Extranets:

    • Internet: A global mesh of interconnected LANs and WANs, maintained by open standards groups (IETF, ICANN, IAB).

    • Intranet: A private, internal collection of LANs and WANs accessible strictly to an organization's authorized members.

    • Extranet: Provides secure, limited access to internal network resources for external trusted partners, suppliers, or collaborators.      

      Intranet Extranet Internet Diagram

Internet Connection Technologies and Converged Networks

  • Home and SOHO Internet Options:

    • Cable: High bandwidth, always-on connection provided by cable television providers.

    • DSL (Digital Subscriber Line): High bandwidth, always-on connection operating over traditional phone lines.

    • Cellular: Uses mobile phone networks for internet access.

    • Satellite: Provides connectivity to rural areas lacking traditional terrestrial ISPs.

    • Dial-Up Telephone: Low cost, low bandwidth option utilizing a traditional phone line and modem.

  • Business Internet Connections:

    • Dedicated Leased Line: Reserved private circuits within a service provider network connecting distant offices for voice/data.

    • Ethernet WAN (Metro Ethernet): Extends high-speed LAN access technology into WAN environments.

    • Business DSL: Offers symmetric bandwidth capabilities (e.g., SDSL).

    • Satellite: Used when wired business connections are unavailable.

  • Converged Networks:

    • Traditional organizational communication relied on dedicated, separate networks for phone, video, and computer data, each governed by unique technical rules.

    • Converged networks carry voice, video, and data over a single, unified network infrastructure governed by a shared set of rules and standards.

Network Architecture and Reliability

  • Network architecture refers to the underlying technologies, rules, and protocols supporting the infrastructure that moves data across networks.


Four Basic Requirements of Reliable Networks
  • Four Pillars of Reliable Networks:

    • Fault Tolerance:

    • Limits the scope of impact when hardware or link failures occur by implementing redundant alternative pathways.

    • Utilizes packet-switched networks, where data streams are broken into packets routed dynamically across available paths, avoiding single points of failure. In contrast, legacy circuit-switched networks establish dedicated fixed circuits.

    • Scalability:

    • Allows the network to expand rapidly to accommodate new users, devices, and applications without degrading performance for existing users.

    • Relies on strict adherence to accepted open standards and protocols.

    • Quality of Service (QoS):

    • Manages network congestion by prioritizing delay-sensitive traffic (such as live voice or VoIP and real-time video) over delay-tolerant traffic (web browsing or email).

    • Network Security:

    • Infrastructure Security: Physical protection of networking equipment and preventing unauthorized configuration access.

    • Information Security: Protecting the contents of data transmitted across network media.

    • CIA Triad:

      • Confidentiality: Assures that only intended, authorized recipients can read transmitted data.

      • Integrity: Assures that information is not altered or tampered with during transit.

      • Availability: Assures timely and reliable access to data for authorized users.

Modern Network Trends and IT Careers

  • Emerging Network Trends:

    • Bring Your Own Device (BYOD): Grants users flexibility to utilize personal equipment (laptops, tablets, smartphones, e-readers) across any ownership model anywhere.

    • Online Collaboration: Real-time interactive tools (such as Cisco Webex Meetings and Webex Teams) enabling messaging, file sharing, video, and link posting.

    • Video Communication: High-definition video conferencing and Cisco TelePresence systems for immersive global collaboration.

    • Cloud Computing: Offsite data storage and application processing hosted in data centers.

    • Public Clouds: Accessible to the general public via pay-per-use models or free services.

    • Private Clouds: Dedicated exclusively to a specific organization or government agency.

    • Hybrid Clouds: Composed of two or more distinct cloud models bound by standard technology.

    • Custom Clouds: Built to meet specific industry demands (e.g., healthcare or media).

    • Smart Home Technology: Integrates network intelligence into everyday household appliances.

    • Powerline Networking: Uses standard electrical wiring within a structure to transmit LAN data using specific frequencies via adapters (e.g., PLE400, PLSK400).      

      Powerline Networking Architecture
    • Wireless Broadband / WISP: Wireless Internet Service Providers connecting rural subscribers to access points or towers via cellular/wireless links.

  • Network Security Threats:

    • External Vectors: Viruses, worms, Trojan horses, spyware, adware, zero-day attacks, threat actor attacks, Denial of Service (DoS), data theft, identity theft.

    • Internal Vectors: Lost/stolen devices, accidental employee misuse, malicious insiders.

    • Security Mitigation:

    • Small Networks: Antivirus/antispyware software, basic firewall filtering.

    • Enterprise Networks: Dedicated firewall appliances, Access Control Lists (ACLs), Intrusion Prevention Systems (IPS), Virtual Private Networks (VPNs).

  • IT Industry Certifications & Careers:

    • Cisco Certified Network Associate (CCNA) validates core IP, switching, routing, security, wireless, virtualization, and automation knowledge.

    • DevNet Certifications validate software development, automation, and network programmability skills.      

      Cisco Professional Certifications
    • Cisco Networking Academy Talent Bridge Engine matches students and alumni with job opportunities at Cisco and its partner organizations.

Cisco IOS Fundamentals and Access Methods

  • Operating System Components:

    • Shell: The user interface allowing operators to request tasks via Graphical User Interfaces (GUI) or Command Line Interfaces (CLI).

    • Kernel: Communicates between software applications and physical hardware, managing hardware resources.

    • Hardware: Physical electronic components of the host or networking device.      

      OS Shell Kernel Hardware Architecture
  • CLI vs. GUI:

    • GUIs (Windows, macOS, Linux KDE, iOS, Android) provide user-friendly environments but can fail, crash, or consume excessive overhead.

    • CLIs are resource-efficient, reliable, and form the primary access mode for configuring networking devices.

  • Device Access Methods:

    • Console: Physical, local management port used for out-of-band device setup, recovery, and initial maintenance.      

      Console Cable RJ45 to DB9
    • Secure Shell (SSH): Recommended, secure, encrypted remote CLI management connection established over a network interface.

    • Telnet: Insecure remote CLI management connection sending passwords and commands in plaintext.

  • Terminal Emulation Software: PuTTY, Tera Term, SecureCRT.

Cisco IOS Navigation and Command Structure

  • Primary Command Modes:

    • User EXEC Mode: Basic monitoring mode with limited non-destructive commands. Prompt ends with > (e.g., Switch>).

    • Privileged EXEC Mode: Full administrative access for configuration, monitoring, and debugging commands. Prompt ends with # (e.g., Switch#).

  • Configuration Modes and Subconfiguration Modes:

    • Global Configuration Mode: Modifies global device operations. Prompt: Switch(config)#.

    • Line Configuration Mode: Configures physical/virtual lines (Console, VTY, AUX). Prompt: Switch(config-line)#.

    • Interface Configuration Mode: Configures network switch ports or router interfaces. Prompt: Switch(config-if)#.

  • IOS Navigation Commands:

    • Access Privileged EXEC mode: enable

    • Exit Privileged EXEC to User EXEC mode: disable

    • Access Global Configuration mode: configure terminal

    • Access Console Line Config mode: line console 0

    • Access VTY Line Config mode: line vty 0 15

    • Access Interface Config mode: interface FastEthernet 0/1 or interface vlan 1

    • Return to parent configuration mode: exit

    • Return directly to Privileged EXEC mode from any subconfiguration mode: end or key combination Ctrl+Z.

  • Command Structure Elements:

    • Format: [Prompt] [Command] [Space] [Keyword or Argument]

    • Keyword: A fixed, predefined command parameter (e.g., ip protocols).

    • Argument: A variable value defined by the user (e.g., IP address 192.168.10.5).      

      IOS Command Structure Elements
  • Command Syntax Conventions:

    • Boldface: Entered literally as shown.

    • Italics: Value supplied by user.

    • [x]: Optional element.

    • {x}: Required element.

    • [x {y | z}]: Required choice within an optional element.

  • Help Features and Editing Shortcuts:

    • Context-Sensitive Help (?): Displays available commands in the current mode or options completing a command phrase.

    • Command Syntax Checker: Displays error markers (^) or error notices (e.g., % Invalid input detected at '^' marker. or % Ambiguous command).

    • Keystrokes Table:

    • Tab: Completes a partial command entry.

    • Backspace: Erases character to the left of the cursor.

    • Left Arrow / Ctrl+B: Moves cursor one character left.

    • Right Arrow / Ctrl+F: Moves cursor one character right.

    • Up Arrow / Ctrl+P: Recalls previous commands from history buffer.

    • Ctrl+C / Ctrl+Z: Exits configuration mode to Privileged EXEC.

    • Ctrl+Shift+6: Aborts running processes (DNS lookups, traceroute, pings).

    • Ctrl+R: Redisplays current input line after system log prompts.

    • --More-- Output Navigation:

    • Enter Key: Displays the next line.

    • Space Bar: Displays the next screen.

    • Any other key: Aborts display output.

Basic Device Configuration and Security

  • Device Hostname Configuration:

    • Rules: Start with a letter, no spaces, end with a letter/digit, use only letters, digits, and dashes, length under 6464 characters.

    • Configuration: text Switch# configure terminal Switch(config)# hostname Sw-Floor-1 Sw-Floor-1(config)#     

    • Revert to default name: no hostname

  • Securing Device Access:

    • Console Password:

    Sw-Floor-1(config)# line console 0
    Sw-Floor-1(config-line)# password cisco
    Sw-Floor-1(config-line)# login
    Sw-Floor-1(config-line)# exit
        ```
    * *Privileged EXEC Password (Encrypted)*:
    

    text Sw-Floor-1(config)# enable secret class     ```

    • Virtual Terminal (VTY) Remote Access Passwords (Lines 0 to 15): text Sw-Floor-1(config)# line vty 0 15 Sw-Floor-1(config-line)# password cisco Sw-Floor-1(config-line)# login Sw-Floor-1(config-line)# exit     

  • Encrypting Plaintext Passwords:

    • Prevents passwords from appearing in cleartext within configuration files.

    • Command: service password-encryption in Global Configuration Mode.

  • Banner Messages:

    • Configures a legal notification shown before login prompts.

    • Syntax uses a delimiting character (e.g., #): text Sw-Floor-1(config)# banner motd #Authorized Access Only!#     

Configuration File Management

  • System Configuration Files:

    • running-config: Located in RAM (volatile). Reflects active live configuration. Lost when device powers off or reboots.

    • startup-config: Stored in NVRAM (non-volatile). Loaded during boot process.

  • Saving Configurations:

    • Command: copy running-config startup-config (Privileged EXEC Mode).

  • Altering and Restoring Configurations:

    • Undo single command: Add no before the command (e.g., no service password-encryption).

    • Discard unsaved running-config changes: Reboot device using reload in Privileged EXEC Mode.

    • Wipe configuration completely: text Router# erase startup-config Router# reload     

  • Capturing Session Logs (PuTTY):

    1. Select Session > Logging in PuTTY.

    2. Set Session logging to All session output.

    3. Specify destination path and log filename (e.g., MySwitchLogs).      

      PuTTY Session Logging Setup
    4. Execute show running-config or show startup-config in Privileged EXEC Mode.

    5. Reset logging setting to None to finalize file capture.

Network Protocols, Rules, and Data Encapsulation

  • Communication Basics:

    • Three Essential Elements: Source (Sender), Destination (Receiver), Channel (Media pathway).

    • Basic Rules: Sender/Receiver identification, common language/grammar, speed/timing, confirmation/acknowledgment.

  • Network Protocol Requirements:

    • Message Encoding: Converting message data into light, electrical, or electromagnetic signals across media, and decoding at destination.

    • Message Formatting & Encapsulation: Wrapping data with addressing headers and trailers.      

      Message Envelope Encapsulation Analogy
    • Message Size: Segmenting long data streams into discrete pieces.

    • Message Timing:

    • Flow Control: Controls transmission rate and data volume.

    • Response Timeout: Defines wait duration before retransmitting lost frames.

    • Access Method: Regulates when devices transmit to prevent or resolve collisions.

    • Message Delivery Options:

    • Unicast: One-to-one transmission.

    • Multicast: One-to-many select group transmission.

    • Broadcast: One-to-all transmission (IPv4 standard; replaced by Multicast/Anycast in IPv6).

  • Protocol Functions & Suites:

    • Functions: Addressing, Reliability, Flow Control, Sequencing, Error Detection, Application Interface.

    • Major Suite History: TCP/IP (IETF open standard), OSI (ISO/ITU), AppleTalk (proprietary), Novell NetWare (proprietary).

  • Standards Organizations:

    • ISOC: Internet Society.

    • IAB: Internet Architecture Board.

    • IETF: Internet Engineering Task Force.

    • IRTF: Internet Research Task Force.      

      Internet Standards Bodies Architecture
    • ICANN: Internet Corporation for Assigned Names and Numbers.

    • IANA: Internet Assigned Numbers Authority (manages IP address blocks, domain names, protocol port identifiers under ICANN).

    • IEEE: Institute of Electrical and Electronics Engineers (802.3802.3 Ethernet, 802.11802.11 WLAN).

    • EIA / TIA: Standards for racks, wiring, connectors, VoIP, towers.

    • ITU-T: Telecommunications standardization (DSL, video compression, IPTV).

  • Reference Models:

    • Benefits: Protocol design standardization, vendor interoperability, isolating cross-layer changes, common industry terminology.      

      OSI Model and TCP/IP Model Comparison
    • OSI Model (77 Layers):

    • 7 - Application

    • 6 - Presentation

    • 5 - Session

    • 4 - Transport

    • 3 - Network

    • 2 - Data Link

    • 1 - Physical

    • TCP/IP Model (44 Layers):

    • Application

    • Transport

    • Internet

    • Network Access

  • Data Encapsulation and PDUs:

    • Process: Data is segmented, multiplexed (interleaved), sequenced, and wrapped top-down with protocol headers.      

      Protocol Data Units passing down the stack
    • Protocol Data Unit (PDU) Names:

    • Application Layer -> Data

    • Transport Layer -> Segment

    • Network Layer -> Packet

    • Data Link Layer -> Frame

    • Physical Layer -> Bits

    • De-encapsulation: Bottom-up process where receiving devices strip off headers as data moves up the protocol stack.

IP Addressing, SVI, and Network Access

  • IP Addressing Characteristics:

    • IPv4 Address: 32-bit32\text{-bit} address displayed in dotted decimal notation (44 octets ranging from 00 to 255255).      

      Windows IPv4 Address Properties Dialog
    • IPv4 Subnet Mask: 32-bit32\text{-bit} value separating network portion from host portion.

    • IPv6 Address: 128-bit128\text{-bit} address written as 3232 hexadecimal digits grouped into 88 blocks separated by colons (:).      

      IPv6 Address Properties Window
    • Host Configuration: Manual static entry vs. Automatic dynamic entry (DHCP / DHCPv6 / SLAAC).

  • Switch Virtual Interface (SVI) Configuration:

    • Configures management IP on a Layer 2 switch for remote access. text Switch# configure terminal Switch(config)# interface vlan 1 Switch(config-if)# ip address 192.168.1.20 255.255.255.0 Switch(config-if)# no shutdown   

  • Addressing Roles in Network Access:

    • Layer 3 Logical Addressing (IP): Identifies original source IP and ultimate destination IP. Remains unchanged across the entire route journey.

    • IPv4: Network Portion + Host Portion.

    • IPv6: Prefix + Interface ID.

    • Layer 2 Physical Addressing (MAC): Physical local link delivery between adjacent NICs on the same physical segment.      

      Layer 2 Frame MAC rewrite vs Layer 3 Packet IP invariant
    • Same Network Communication: Source MAC is sender NIC; Destination MAC is target end device NIC.

    • Remote Network Communication: Source IP and Destination IP belong to different subnets.

    • Source device targets the Default Gateway (DGW) (router local interface IP).

    • Layer 2 Destination MAC address is set to the local Default Gateway router interface.

    • As the Layer 3 IP Packet moves hop-by-hop across routers, the Layer 2 Data Link Frame is encapsulated and de-encapsulated at every link, updating Source/Destination MAC addresses for each segment while the IP Packet Header remains intact.