OSPF Tracing

CyanicCyanic Member Posts: 289
We have a class B that is used for our core network. I have noticed most of the subnets do not appear in the OSPF database, but there is an entry for the class B itself, lets call it 10.11.0.0.

From a remote router I can do a 'sh ip route' and see network 10.11.212.0 and its next hop, but it does not appear when you run 'sh ip ospf database'. If there a way to trace this and figure out the advertising router ID?

Comments

  • networker050184networker050184 Mod Posts: 11,962 Mod
    Show ip ospf database [LSA type] [prefix] should get you what you need.
    An expert is a man who has made all the mistakes which can be made.
  • CyanicCyanic Member Posts: 289
    Cool!

    sh ip ospf database router | inc (10.11.212| Adv)

    This will print all the Advertising routers and the network 10.11.212.0. Just find the line that contains the advertising router immediately above the line that contains the network, and you have your answer.
    ....
    Advertising Router: 10.10.139.37
    Advertising Router: 10.10.139.40
    (Link ID) Network/subnet number: 10.11.212.0
Sign In or Register to comment.