Quiz Entry - updated: 2026.07.14
What does the show ip route command display and what do the route codes mean?
show ip route displays the router's IPv4 routing table; the leading code shows the route source — L/C for directly connected, S for static, O for OSPF, D for EIGRP, and S for a static default route.*
The show ip route command displays the IPv4 routing table on a Cisco router.
Route source codes:
| Code | Meaning |
|---|---|
| L | Directly connected local interface IP address |
| C | Directly connected network |
| S | Static route (manually configured by administrator) |
| O | OSPF (dynamically learned) |
| D | EIGRP (dynamically learned) |
| S* | Static default route (candidate default) |
Route entry components:
- Destination network - The network this route reaches
- Outgoing interface - Which interface to use
- Next hop - IP address of next router (if applicable)
- Administrative distance - Trustworthiness of route source
- Metric - Cost to reach the destination
Route type summary:
- Directly Connected: C and L
- Remote Routes: O, D, etc.
- Default Route: S*
Go deeper:
Wikipedia — Routing table — route sources, administrative distance, and metrics behind the codes.