Skip to content
CCNA 200-301 v1.1 reference — IP Connectivity

The routing table

Read every component of a routing table entry: protocol codes, prefix and mask, next hop, administrative distance, metric and the gateway of last resort.

Objective 3.1v1.1 exam target
$ show ip route (annotated)
Codes: C - connected, S - static, O - OSPF, D - EIGRP, R - RIPThe first letter(s) identify the route source.
S* 0.0.0.0/0 [1/0] via 10.0.0.2* marks the gateway of last resort candidate.
O 10.2.0.0/24 [110/20] via 10.0.0.2, 00:12:31, Gi0/1OSPF route, AD 110, metric 20.
C 10.0.0.0/30 is directly connected, Gi0/1Connected — installed automatically with AD 0.
L 10.0.0.1/32 is directly connected, Gi0/1Local — the router's own interface address.

Routing table protocol codes

CodeSourceMeaning
CConnectedNetwork of an up interface
LLocalThe interface's own /32 host route
SStaticManually configured
S*Static defaultCandidate gateway of last resort
OOSPFIntra/inter-area link-state route
O IAOSPF inter-areaRoute learned from another OSPF area
DEIGRPInternal EIGRP route
D EXEIGRP externalRedistributed into EIGRP
RRIPDistance-vector RIP route
BBGPBorder Gateway Protocol route

Default administrative distances

Lower is preferred — but AD compares candidate routes for the SAME prefix, never for different prefixes.
SourceADNotes
Connected0Cannot be beaten — same prefix always wins
Static1Floating statics raise this deliberately
eBGP20External BGP (context)
EIGRP (internal)90
OSPF110
RIP120
iBGP200Peers within the same AS (BGP interior sessions)
Unreachable255Route is never installed

Lower is preferred — but AD compares candidate routes for the SAME prefix, never for different prefixes.

The next hop is the IP the packet goes to on the local link (the router resolves it via ARP/ND). The metric (the second bracket number) compares routes inside one protocol — OSPF cost, EIGRP composite, RIP hop count. It means nothing across protocols. The gateway of last resort is the default route the router uses when nothing else matches.

On this page

Related resources

Sources

Targets CCNA 200-301 v1.1 objectives. Supplemental blocks are labeled beyond exam scope.

Search guided lessons, transcript chapters, flashcards, CLI drills and cheat sheets

The routing table | CCNA Study