Master OSPF, EIGRP & BGP in 10 Minutes: The Ultimate CCNA Cheat Sheet Every Network Engineer Needs + Video

Listen to this Post

Featured Image

Introduction:

Routing protocols are the backbone of modern networks, determining how data traverses from source to destination across complex infrastructures. For CCNA and CCNP candidates, mastering OSPF, EIGRP, and BGP—their area types, neighbor states, metrics, and path selection logic—is non‑negotiable for building scalable, resilient networks and passing certification exams.

Learning Objectives:

– Understand OSPF area types (backbone, stub, NSSA) and the OSPF neighbor state machine (Down to Full).
– Configure and verify EIGRP metrics, feasible successors, and route types (internal, external, summary).
– Implement BGP fundamentals, manipulate path attributes, and perform route summarization across all three protocols.

You Should Know:

1. OSPF Area Types & Neighbor States – Step‑by‑Step Verification

OSPF uses areas to limit route propagation. Common area types: backbone (area 0), stub (blocks Type 5 LSAs), totally stubby, NSSA (allows Type 7 LSAs). Neighbor states progress from Down → Init → 2‑Way → Exstart → Exchange → Loading → Full.

Step‑by‑step:

– On a Cisco router, check OSPF neighbors: `show ip ospf neighbor` (verify state is FULL/DR or FULL/BDR).
– Review area details: `show ip ospf interface` (lists area ID, router ID, timer settings).
– Configure a stub area: `area 2 stub` on all routers in that area. For totally stub: `area 2 stub no-summary` (ABR only).
– Troubleshoot with `debug ip ospf adj` (use sparingly in production).

Linux/Windows alternative: While OSPF is router‑centric, you can observe routes in Linux with `ip route show` (after installing FRRouting or Quagga). On Windows, `route print` shows the routing table but not OSPF internals.

2. EIGRP Metrics, Route Types & Feasible Successor – Practical Lab Commands

EIGRP uses a composite metric (bandwidth, delay, load, reliability, MTU). Feasible successor is a backup route that meets the feasibility condition (reported distance < feasible distance). Route types: internal, external, summary.

Step‑by‑step:

– Display EIGRP topology: `show ip eigrp topology` (flags: P = passive, Q = query, S = stuck). Look for “Feasible Successor” entries.
– Verify metric components: `show ip protocols` (under EIGRP section). Modify metric weights with `metric weights 0 1 0 1 0 1` (advanced – avoid unless needed).
– To enable EIGRPv4: `router eigrp 100` → `network 10.0.0.0` → `no auto-summary`.
– Check feasible successor: `show ip eigrp topology all-links` shows all paths and feasibility condition.

For Windows/Linux network engineers: Use `tracert` (Windows) or `traceroute` (Linux) to see hop‑by‑hop paths that may be influenced by EIGRP metrics in a multi‑router lab.

3. BGP Fundamentals & Path Attributes – Configuration and Inspection

BGP is the internet’s exterior gateway protocol, relying on path attributes (AS_PATH, NEXT_HOP, LOCAL_PREF, MED, etc.). iBGP vs eBGP behavior differs; loop prevention uses AS_PATH.

Step‑by‑step (Cisco IOS):

– Basic eBGP: `router bgp 65001` → `neighbor 192.168.1.2 remote-as 65002`.
– View BGP table: `show ip bgp` (> indicates best path, valid, r rejected).
– Check path attributes: `show ip bgp 0.0.0.0` (for default route) or specific prefix.
– Influence path selection: Set LOCAL_PREF (preferred exit) – `route-map SET_LOCAL_PREF permit 10` → `set local-preference 200`. Apply to neighbor inbound.
– MED (metric) – `set metric 50` to influence AS‑external decision.

Linux BGP tools: `bird` or `FRRouting` provides `vtysh` (similar to Cisco CLI). Windows users can use GNS3/EVE‑NG virtual routers.

4. BGP Route Selection Process – The 13 Steps Decoded

BGP selects the best path by evaluating attributes in order: highest weight (Cisco proprietary), highest LOCAL_PREF, locally originated, shortest AS_PATH, lowest ORIGIN type (IGP < EGP < incomplete), lowest MED, eBGP over iBGP, lowest IGP metric to NEXT_HOP, and finally oldest route or lowest neighbor IP.

Step‑by‑step verification:

– Run `show ip bgp ` to see why a specific route was chosen (Cisco’s output includes “Bestpath” reasons).
– To override default: Use `weight` attribute (per‑neighbor or via route‑map): `neighbor 10.0.0.1 weight 200` makes all routes from that neighbor preferred.
– Use `show ip bgp summary` to check peering states (Idle, Connect, Active, Established).
– Debug BGP updates: `debug ip bgp updates` (monitor in lab only).

5. Route Summarization Techniques – Manual and Automatic

Summarization reduces routing table size and hides flapping. OSPF: manual summarization on ABR or ASBR. EIGRP: `ip summary-address` on interface. BGP: `aggregate-address` with or without `summary-only`.

Step‑by‑step:

– OSPF summarization on ABR: `area 1 range 192.168.0.0 255.255.252.0` (summarizes 192.168.0.0/22 from area 1 into backbone).
– EIGRP manual summarization: interface config mode → `ip summary-address eigrp 100 172.16.0.0 255.255.254.0` (generates a local summary route).
– BGP aggregation: `aggregate-address 10.0.0.0 255.255.252.0 summary-only` (suppresses more specific routes). Verify with `show ip bgp` – aggregated entry shows as “s” (suppressed).
– For Linux: `ip route add blackhole` can simulate summarization in host routing.

6. Default Route Origination – Injecting a Gateway of Last Resort

All three protocols support default route propagation. OSPF uses `default-information originate`. EIGRP uses `ip default-1etwork` or a static default redistributed. BGP can advertise `0.0.0.0/0`.

Step‑by‑step:

– OSPF: `router ospf 1` → `default-information originate always` (even without a static default). Verify with `show ip route ospf` – entry `OE2 0.0.0.0/0`.
– EIGRP: Configure a static default `ip route 0.0.0.0 0.0.0.0 Serial0/0` then redistribute static under EIGRP: `redistribute static metric 10000 1000 255 1 1500`.
– BGP: `network 0.0.0.0` in BGP config, or use `neighbor … default-originate` to send default to a peer.
– Check default propagation: `show ip route` (look for gateway of last resort flag).

7. Quick Troubleshooting Commands – Your Lab Survival Kit

Master these commands before any exam or real‑world fault.

Step‑by‑step:

– OSPF: `show ip ospf neighbor`, `show ip ospf database`, `show ip protocols`, `clear ip ospf process`.
– EIGRP: `show ip eigrp neighbors`, `show ip eigrp traffic`, `show ip route eigrp`, `debug eigrp fsm`.
– BGP: `show ip bgp neighbors [bash] advertised-routes`, `show ip bgp regexp ^65001_`, `clear ip bgp soft` (soft reconfiguration).
– General: `ping`, `traceroute`, `show ip route summary`, `show running-config | section router`.

On Windows, use `pathping` for combined traceroute/latency analysis. On Linux, `mtr` (My TraceRoute) provides real‑time stats.

📌 Join the networking community for more labs and cheat sheets: WhatsApp at https://lnkd.in/d-kemJU6 or +923059299396.

What Undercode Say:

– Key Takeaway 1: Hands‑on simulation (GNS3, EVE‑NG, Packet Tracer) transforms abstract protocol logic into tangible, memorable behavior—never just memorize commands.
– Key Takeaway 2: BGP path attribute manipulation is the most misunderstood skill; focusing on the order of the 13 steps and labbing weight/LOCAL_PREF/MED will set you apart from average CCNA holders.

Analysis: Routing protocols are often taught as isolated topics, but the real power comes from understanding how OSPF, EIGRP, and BGP interact in a multi‑protocol environment. Many engineers fail because they cannot quickly identify why a specific prefix is missing from the routing table or why BGP chooses a suboptimal path. The cheat sheet addresses these pain points by distilling neighbor states, feasibility conditions, and path selection into a visual, cartoon‑style reference. However, the true learning happens when you break a lab—configure an OSPF stub area incorrectly, observe the missing inter‑area routes, then fix it. The inclusion of verification commands (show, debug, clear) and summarization techniques bridges the gap between theory and production troubleshooting. For cybersecurity, misconfigured routing protocols can lead to route leaks, black holes, or traffic interception; understanding these internals is essential for network hardening. The provided WhatsApp community offers peer support and updated resources, which accelerates skill development.

Prediction:

+1 Increased adoption of network automation (Ansible, Python + Netmiko) will make templated routing protocol configurations more consistent, reducing human error in BGP and OSPF deployments.
+1 Cloud networking (AWS Transit Gateway, Azure Route Server) will demand deeper knowledge of BGP route propagation, making CCNA‑level BGP skills a baseline for cloud engineers.
-1 The growing complexity of multi‑cloud and SD‑WAN environments may overshadow classic routing protocol troubleshooting, yet a lack of understanding leads to catastrophic route leaks—so foundational skills remain critical.
-1 Over‑reliance on simulation without understanding packet‑level details (e.g., OSPF LSU/LSR exchange) can create “certified but clueless” engineers; future hiring may favor practical lab portfolios over mere cheat sheets.

▶️ Related Video (74% Match):

🎯Let’s Practice For Free:

🎓 Live Courses & Certifications:

[Join Undercode Academy for Verified Certifications](https://undercode.co.uk/certifications/)

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[[email protected]](mailto:[email protected])
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

IT/Security Reporter URL:

Reported By: [Sayed Hamza](https://www.linkedin.com/posts/sayed-hamza-jillani-9a6b95204_networking-ccna-ccnp-share-7468411809826344961-udXW/) – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

[💬 Whatsapp](https://undercode.help/whatsapp) | [💬 Telegram](https://t.me/UndercodeCommunity)

📢 Follow UndercodeTesting & Stay Tuned:

[𝕏 formerly Twitter 🐦](https://x.com/undercodeupdate) | [@ Threads](https://www.threads.net/@undercodetesting) | [🔗 Linkedin](https://www.linkedin.com/company/undercodetesting/) | [🦋BlueSky](https://bsky.app/profile/undercode.bsky.social)