Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

How to find out who originated a OSPF route?

Hi Guys,

Maybe it's a simple question for you, how to find out which router originated a OSPF route?

Example: there are five OSPF routers R1, R2, R3, R4, and R5 in area 0. They have the same OSPF DB in the memory. When I do a 'sh ip route x.x.x.x', the outputs indicates it's learned via OSPF, the quesiton is how can I konw which router is the originator for the route x.x.x.x.



Cisco Employee

How to find out who originated a OSPF route?

Hello Bo,

If you enter the show ip route x.x.x.x command, you will get an output similar to this:

Router# show ip route

Routing entry for, supernet

  Known via "ospf 1", distance 110, metric 24, candidate default path

  Tag 1, type extern 1

  Last update from on Vlan7, 4d12h ago

  Routing Descriptor Blocks:

  *, from, 4d12h ago, via Vlan7

      Route metric is 24, traffic share count is 1

      Route tag 1

Observe the two highlighted addresses. Here, is the IP address of the next hop towards the destination, and is the OSPF Router ID of the router who originated this route. In this case, it would be the router who injected this default route into the OSPF domain. It is very helpful to know the OSPF Router ID for each router in your network - this way, you can quickly know which router it is.

Best regards,


New Member

How to find out who originated a OSPF route?

Hi Peter,

I am running the "show ip route" command from a NX-OS. I see the next hop info from the output, however, I don't see any router ID from output.

r1# sh ip route, ubest/mbest: 2/0

    *via, Po3, [110/6667], 7w0d, ospf-1, intra

    *via, Po32, [110/6667], 7w0d, ospf-1, intra


CreatePlease to create content