Back to CCNA 200-301

CCNA 200-301 · Cheat Sheet

IP Connectivity (25%)

Tip: Use your browser's print function (Ctrl+P / Cmd+P) to save as PDF for offline study.

IP CONNECTIVITY (25%) — CHEAT SHEET

ROUTING TABLE ESSENTIALS

Routing Table Codes & Administrative Distance (AD)

|------|----------|----|----|

Longest prefix match: Most specific subnet mask wins, regardless of protocol. Equal-cost load balancing: Multiple routes with same AD + metric share traffic (default 4, max 16).

---

OSPF FUNDAMENTALS

Neighbor Requirements (All 5 must match)

|-----------|---------|---|

OSPF Neighbor States (Progression)

|-------|---------|---|

Stuck in 2-WAY? → Check for designated router (DR) on that segment — may be expected (point-to-point or no DR).

OSPF Configuration Checklist

`` router ospf network area passive-interface ! Stop hellos on this interface no passive-interface ! Enable hellos (undo passive) auto-cost reference-bandwidth ! Default 100 Mbps (fast eth = cost 1) `

Wildcard mask = inverse of subnet mask (e.g., /24 → 0.0.0.255). Network statement matches interface IP + announces that subnet into OSPF.

OSPF Cost Calculation

` Cost = Reference Bandwidth / Link Bandwidth Default: 100 Mbps / interface speed (in Mbps) Examples: • Fast Ethernet (100 Mbps) → 100/100 = 1 • Gigabit (1000 Mbps) → 100/1000 = 0 (rounds to 1, minimum) • Serial 1.544 Mbps → 100/1.544 = 64 `

Best practice: Set reference bandwidth = your fastest link (usually 10 Gbps).

---

STATIC ROUTING

Static Route Types

|------|--------|----------|

Next-hop choices: IP address (preferred for troubleshooting) OR outgoing interface (requires ARP on broadcast media).

IPv6 Static Route

` ipv6 route / Example: ipv6 route 2001:db8:2::/48 2001:db8:1::1 `

---

FIRST-HOP REDUNDANCY (HSRP/VRRP/GLBP)

Quick Comparison

|---------|------|------|------|

HSRP priority range: 0–255 (default 100). Higher = preferred. Preemption: standby preempt` to reclaim active role.

---

IPv4 TROUBLESHOOTING & PING

ICMP Echo Reply Codes

|------|---------|---|
CodeProtocolADDecision Rule
CConnected0Directly attached — always preferred
LLocal0Host route to interface IP itself
SStatic1Manual entry — preferred over dynamic
OOSPF110Dynamic IGP — standard for multi-vendor
?UnknownRoute not installed (AD too high or syntax error)
ParameterDefaultMismatch = ?
Area ID0 (backbone)No adjacency
Hello interval10 secNo hello heard → stuck INIT
Dead interval40 sec (4× hello)Timeout → EXSTART
Network maskDerived from configAdjacency stalls
MTU size1500 bytesOSPF sync fails at DBD
StateMeaningAction Needed
DOWNNo hellos heardCheck line protocol, passive interface, area ID
INITGot hello, no hello back yetWait or check hello/dead intervals
2-WAYBidirectional — router sees itselfNormal in point-to-multipoint; may be final state
EXSTARTDR/BDR negotiation startingCheck MTU, neighbor master/slave election
EXCHANGESwapping DBDs (database descriptions)Allow 5–10 seconds; check MTU if stuck
LOADINGRequesting LSAsNeighbors syncing databases
FULLConvergedNormal steady state
TypeSyntaxUse Case
Network staticip route Specific remote subnet
Default staticip route 0.0.0.0 0.0.0.0 Route all unknown traffic
Host staticip route 255.255.255.255 Single device (rarely used)
Floating staticip route ... Backup (AD > primary route)
FeatureHSRPVRRPGLBP
Virtual IP ownershipActive routerMaster (VRRP)AVG; others backup
Virtual MAC0000.0c07.acXX0000.5e00.01XX0007.b400.XXYY
Preemption defaultDisabledEnabledDisabled
Load balancingNoNoYes (up to 4 AVG)
Cisco/VendorCisco proprietaryStandard (RFC)Cisco proprietary
CodeMeaningTroubleshoot
0Reply OKPath works end-to-end
1Destination unreachable (host)Host down or filtering
2Protocol unreachableProtocol not running
3Port unreachableService not listening
11Time exceeded (TTL=0)

Aligned to the Cisco CCNA 200-301 exam topics.

Make this cheat sheet yours

Personalize this sheet — focus it however you study, or build one from the exact questions you keep getting wrong.

Sign up free to create a personalized cheat sheet.