To check OSPF-learned routes in the global IP routing table , the correct command is display ip routing-table protocol ospf , so option A is correct. This command filters the routing table and shows only the routes whose source protocol is OSPF. It is especially useful when verifying whether OSPF-learned routes have been successfully installed into the forwarding table after neighbor establishment and LSDB calculation.
Option B , display ospf peer, is used to check OSPF neighbor information and adjacency states, not the routing table. Option C , display ospf interface, shows OSPF-related parameters on interfaces such as timers, network type, and cost. Option D , display ospf routing, displays OSPF route information maintained by the OSPF process itself, but the question specifically asks about routes in the global routing table , which is the RIB used for actual forwarding decisions. HCIA-Datacom distinguishes between protocol-specific route information and the final routing table seen by the device. Understanding this distinction helps engineers verify whether a protocol has only learned topology information or has actually produced usable forwarding entries.
============
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit