Skip to content
CCNA 200-301 v1.1 quick lookup

Routing codes and administrative distances

The protocol codes shown by the routing table and the default administrative distances they imply.
From The routing table — the same block lives in that article

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
From The routing table — the same block lives in that article

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.

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

Quick Lookup tables | CCNA Study