I practice for my CCNA on three 2500 seriers routers. When I setup OSPF it seems the "O" route shows on my two far end routers but only "C" for interfaces on the center router. I have setup three routers from a book, and making up my own networks.
Router A E0 to Router B E0
Router B S0 to Router C S0
I know the cost is lowest for connected but shouldn't I see the route in show ip route for all routers? Show ip protocol shows OSPF stats.
Also no auto-summary is not an avail. command.
Just wondering if I am to expect to only see "C" connected on one router.
the central router RB can see OSPF routes only if RA and RC are advertising links that are not directly connected to RB.
ip address 192.168.254.1 255.255.255.255
router ospf xx
network 192.168.254.1 0.0.0.0 area 0
I suppose you are using area0 otherwise use the area-id in use.
no auto-summary applies to protocols with distance vector characteristics. OSPF and ISIS are link state and they haven't this command because they don't need it they never perform summarization automatically at a major network (class A, B,C) boundary.
to be noted you can see from the fact that RA sees OSPF route for RB-RC link that OSPF is working.
As suggested by Anser there are several show commands that can help
sh ip ospf neighbors
sh ip ospf interface
sh ip ospf database
sh ip ospf database adv-router
note: connected routes have a lower administrative distance not cost that is like metric. In IP routing table in the [x/y] x is AD and y is metric.
Hope to help