Cisco CCNA (200-301)IP ConnectivityEasy
A network administrator needs to verify the administrative distance of a route and its next-hop information. Which `show` command would provide this information for all routes in the routing table?
- A`show ip route`
- B`show ip protocols`
- C`show ip interface brief`
- D`show ip ospf neighbor`
Show answer & explanationAnswer & explanation
Correct answer: A. `show ip route`
The `show ip route` command displays the entire IPv4 routing table, including the administrative distance and next-hop information for each route. This command is the primary tool for verifying routing information on a Cisco router.
Why the other options are wrong
- B. This command shows the parameters of configured routing protocols, not the routing table itself.
- C. This command shows the status and IP addresses of interfaces, not routing table entries.
- D. This command shows OSPF neighbor adjacencies, not the full routing table.
Show IP Route Command
The `show ip route` command displays the IPv4 routing table, detailing all known routes, their administrative distances, metrics, next-hop IP addresses, and exit interfaces.
- Primary command for routing table verification.
- Shows how routes were learned (e.g., C for connected, S for static, O for OSPF).
- Includes administrative distance and metric for each route.
- Displays next-hop IP and/or exit interface.
Memory trick: To see the routes, `show ip route` shouts.