Router Initial Configuration – Comprehensive Study Notes

Router Initial Configuration Exam Reviewer

This reviewer highlights key concepts and commands from Module #2: “Router Initial Configuration.” Mastery of these topics is crucial for understanding how to set up and manage network devices.

1. Router Fundamentals & Core Concepts

  • Router's Primary Functions:

    1. Determine best path.

    2. Forward packets.

  • Router Components: CPU, Cisco IOS, RAM (running-config, tables, buffers), NVRAM (startup-config), Flash (IOS image), ROM (bootstrap). Interfaces: Ethernet, Serial, SFP. Management Ports: Console, Aux, MGMT.

  • Routing Table: Router's map; built from connected networks, static routes, or dynamic protocols.

  • Encapsulation/Decapsulation Cycle: Routers de-encapsulate L2, read L3 IP, find path, re-encapsulate L2 for outgoing interface.

2. Packet-Forwarding Mechanisms (CEF is default & preferred)

  • Process Switching: CPU processes every packet (slow, fall-back).

  • Fast Switching: Cache-based; first packet processed by CPU, subsequent packets use cache.

  • Cisco Express Forwarding (CEF): Most efficient.

    • Proactively builds FIB (Forwarding Information Base) and Adjacency Table (topology-change triggered).

    • Achieves line-rate forwarding.

    • FIB has pre-computed next-hop, interface, and L2 header info.

3. Network Design Factors

  • Topology:

    • Physical: Literal cabling layout (star, bus, mesh); affects cost, troubleshooting.

    • Logical: How data traverses (e.g., Ethernet's bus logic over star physical, VLANs).

  • Key Design Considerations: Speed (extbpsext{bps}), Cost (Cap-Ex, O&M), Security (CIA Triad: Confidentiality, Integrity, Availability), Availability (99.999 ext{%} uptime), Scalability, Reliability (MTBF=total operating timenumber of failuresMTBF = \frac{\text{total operating time}}{\text{number of failures}}).

4. Default Gateway Concept

  • Every host needs an IP, subnet mask, and default gateway.

  • Intra-subnet traffic: Direct L2 delivery; no router involved.

  • Inter-subnet traffic: Host sends to default gateway's MAC; router forwards to next hop.

  • Routers can also have a default gateway (e.g., static route 0.0.0.0/00.0.0.0/0) to an upstream device/ISP.

5. Accessing & Securing Network Devices

  • Console Access (Out-of-Band): For initial setup/password recovery.

    • Requires RJ-45-to-DB9 rollover cable (or USB-to-serial).

    • Terminal emulator settings: 9600,8,N,19600, 8,N,1.

  • Remote Access (In-Band): SSH (secure, preferred), HTTPS (for GUI).

  • Basic Hardening:

    • Protect user EXEC, privileged EXEC, VTY (telnet/SSH) with strong passwords/local users.

    • Set a Banner MOTD to warn unauthorized users.

  • Save Configuration: Always copy running-config startup-config.

    • Verify with show running-config or show startup-config.

6. Interface Configuration Steps

IPv4 Interface Configuration

  1. interface g0/0

  2. ip address 192.168.1.1 255.255.255.0

  3. no shutdown (enables interface)

  4. clock rate 128000 (for serial DCE in labs)

IPv6 Interface Configuration

  • ipv6 address 2001:db8:acad:1::1/64 (Global Unicast)

  • ipv6 enable (Auto-generates link-local, enables IPv6)

  • ipv6 address 2001:db8:acad:1::/64 eui-64 (EUI-64 format)

  • no shutdown (activates)

  • Multiple IPv6 addresses allowed (one link-local FE80::/10FE80::/10 + globals).

IPv4 Loopback Interface

  • Software-only; always up/up.

  • Example:
    interface loopback0 ip address 10.10.10.1 255.255.255.255

  • Use cases: Router-ID (OSPF/BGP), test reachability, stable management endpoint.

7. Verifying Router Configurations

Verifying IPv4

  • show ip interface brief: Status, IP addresses.

  • show ip route: IPv4 routing table.

  • show running-config interface g0/0: Specific interface config.

  • show interfaces g0/0: Detailed statistics.

  • show ip interface g0/0: IPv4 details.

Verifying IPv6

  • show ipv6 interface brief: L1/L2 state, IPv6 addresses.

  • show ipv6 interface g0/0: Full IPv6 info.

  • show ipv6 route: IPv6 routing table (C for connected).

8. CLI Productivity Features

  • Filtered Output: | section, | include, | exclude, | begin.

  • Pagination: terminal length 0 (infinite scroll).

  • Command History: , , Ctrl+P/Ctrl+N. show history.

9. Troubleshooting Strategy

  • LEDs: Quick health indicators.

  • Troubleshooting Flow: LEDs → Cables → show commands → ping.

Good luck with your exam!