If we have many routers in OSPF area 0 and dont have access to all of them. We know the router ID, is it possible to know which subnets that particular router is publishing from ospf databse.
Those subnets are available in the routing table- traceroute also shows from where those are coming from.
May be very basic but still I am not able to find.
there are several options in sh ip ospf database
sh ip ospf database ?
adv-router Advertising Router link states
asbr-summary ASBR summary link states
database-summary Summary of database
external External link states
network Network link states
nssa-external NSSA External link states
opaque-area Opaque Area link states
opaque-as Opaque AS link states
opaque-link Opaque Link-Local link states
router Router link states
self-originate Self-originated link states
summary Network summary link states
| Output modifiers
you can use sh ip ospf database router 220.127.116.11
to see the router LSA generated by advertising router 18.104.22.168
if you do sh ip route 10.2.1.0 and you look at the from field you should see the OSPF router-id of the router that injected the LSA in the OSPF domain.
Hope to help