CCNA Short Notes
CCNA Short Notes
1. Network Components
• Devices
• Switch: Connects devices within a local network. Works at Layer 2 (Data Link layer).
• Star: Central node (usually a switch or hub) to which all nodes are connected.
• Mesh: Devices are interconnected. Every device is connected to every other device.
• OSI: 7 layers - Physical, Data Link, Network, Transport, Session, Presentation, and
Application.
2. Network Topologies
• Common Types
• Bus: Single central cable (the bus) to which all network devices are connected.
• Ethernet Cables
• Connector Types
• Binary Conversion: IPs are binary numbers, but usually represented in decimal for IPv4 or
hexadecimal for IPv6 for readability.
• Address Types
• Benefits:
• Trunking
• Purpose: Allows multiple VLANs to travel over a single link, maintaining VLAN
information.
• 802.1Q: Standard protocol for trunking. Inserts a tag into the frame header to
identify the VLAN.
• Native VLAN: The VLAN associated with all untagged traffic on a trunk. If a device
doesn't tag a frame, it belongs to the native VLAN. Important for security
considerations.
• Operation:
• Root Bridge Election: The switch with the lowest bridge ID (Priority + MAC Address)
becomes the root.
• Path Selection: Switches determine the shortest path to the root bridge.
• Blocking: All non-shortest paths are placed in a blocking state to prevent loops.
• STP Types:
• PVST+ (Per VLAN Spanning Tree Plus): Cisco's version; runs an STP instance for each
VLAN.
• RSTP (Rapid Spanning Tree Protocol): Faster convergence than classic STP.
3. EtherChannel
• Definition: Combines multiple physical links between switches into a single logical link.
• Benefits:
• Redundancy: If one link fails, traffic is automatically moved to the remaining links.
• Protocols:
• LACP (Link Aggregation Control Protocol): IEEE standard and can be used with non-
Cisco devices.
Module 3: IP Connectivity
1. Introduction to Routers & Routing
• Router Functions:
• Static: Manually defined routes, typically used for specific routing needs or smaller
networks.
• Dynamic: Uses protocols like OSPF, EIGRP, and BGP to automatically discover and
adapt to network changes.
• Characteristics:
• Various types, like Type 1 (Router LSA) describing interfaces and links.
• OSPF Versions:
• OSPFv2: IPv4.
• OSPFv3: IPv6.
3. IP Services
• Components include IP pool, lease time, and DHCP relay for crossing networks.
• Uses a hierarchy of servers with stratum levels indicating the distance from the
reference clock source.
Module 4: IP Services
• Types:
• Dynamic NAT: Uses a pool of public IP addresses and assigns them on a first-come,
first-served basis.
• Benefits:
• Definition: Mechanisms to prioritize traffic and ensure data flow for certain applications or
types of traffic.
• SNMP:
• Purpose: To monitor and manage network devices, and to keep track of device
behaviors.
• Operations: GET (retrieve value), SET (configure value), and TRAP (unsolicited alerts).
• Security Levels: v1 (no security), v2c (community string as a form of security), and v3
(authentication and encryption for security).
• Syslog:
• Components: Syslog server (where logs are sent) and clients (devices sending logs).
• Importance:
• Best Practices:
• Train Employees: Everyone is a potential security risk; education reduces that risk.
• Least Privilege Principle: Give only necessary access rights or permissions to perform
a function.
• Definition: Allows secure private network traffic over public networks like the internet.
• Types:
• Site-to-Site: Connects entire networks to each other (e.g., connecting two branch
offices).
• Protocols/Technologies:
• L2TP (Layer 2 Tunneling Protocol) & PPTP (Point-to-Point Tunneling Protocol): Older
tunneling protocols, sometimes used in combination with IPSec.
• Port Security:
• Restricts input on a switch port based on MAC addresses to secure network access.
• Ensures ARP (Address Resolution Protocol) requests and replies are valid. It prevents
ARP spoofing attacks.
• VLAN Security:
• Use dedicated VLANs for special functions (e.g., a VLAN just for management).
2. Controller-based Networking
• Controllers: Central devices that have a complete view of the network and instruct network
devices on how to handle network traffic.
• Data Serialization Language: Used for configuration and data exchange between a server
and a client, or between network devices.
• Structure:
• Definition: Allows different software applications to communicate with each other using
standard HTTP methods (GET, POST, PUT, DELETE).
• RESTful Principles:
• Stateless Operations: Each request from a client contains all the information needed
by the server.
• Cacheability: Responses can be cached to improve speed and reduce server load.
• Ansible: