Skip to main content
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)

CodeProtocolADDecision Rule
CConnected0Directly attached — always preferred
LLocal0Host route to interface IP itself
SStatic1Manual entry — preferred over dynamic
OOSPF110Dynamic IGP — standard for multi-vendor
?Unknown—Route not installed (AD too high or syntax error)

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)

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

OSPF Neighbor States (Progression)

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
FULL✅ ConvergedNormal steady state

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 <PID>
 network <subnet> <wildcard> area <area-ID>
 passive-interface <if>           ! Stop hellos on this interface
 no passive-interface <if>        ! Enable hellos (undo passive)
 auto-cost reference-bandwidth <Mbps>  ! 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

TypeSyntaxUse Case
Network staticip route <dest> <mask> <next-hop>Specific remote subnet
Default staticip route 0.0.0.0 0.0.0.0 <next-hop>Route all unknown traffic
Host staticip route <host-IP> 255.255.255.255 <next-hop>Single device (rarely used)
Floating staticip route ... <next-hop> <AD>Backup (AD > primary route)

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

IPv6 Static Route

ipv6 route <dest-prefix>/<length> <next-hop-IPv6>
Example: ipv6 route 2001:db8:2::/48 2001:db8:1::1

FIRST-HOP REDUNDANCY (HSRP/VRRP/GLBP)

Quick Comparison

FeatureHSRPVRRPGLBP
Virtual IP ownershipActive routerMaster (VRRP)AVG; others backup
Virtual MAC0000.0c07.acXX0000.5e00.01XX0007.b400.XXYY
Preemption defaultDisabledEnabledDisabled
Load balancingNoNoYes (1 AVG + up to 4 AVFs per group)
Cisco/VendorCisco proprietaryStandard (RFC)Cisco proprietary

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


IPv4 TROUBLESHOOTING & PING

ICMP Message Types

TypeMeaningTroubleshoot
0 ✅Echo ReplySuccessful ping response — path works end-to-end
3Destination UnreachableCodes: 0 = net, 1 = host, 2 = protocol, 3 = port unreachable
8Echo RequestPing sent by source
11Time Exceeded (TTL = 0)Packet expired in transit; used by traceroute

Aligned to the standard reference materials.

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.