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

BGP - Missing Routes


OSPF and BGP running on the MPLS Router.


BGP with Service Provider

I am redistributing ospf to BGP and also

redistributing BGP to OSPF

some routes from OSPF cannot be seen on BGP neighbors


At HQ when we do

sh ip route ospf, I see route

on Branch (1)

This route is not seen

Any clue

Cisco Employee

Re: BGP - Missing Routes


I assume you want to see the network on the Branch router.

1.) Check if the network has been properly redistributed from OSPF to BGP on the HQ site by issuing the command show ip bgp and looking for that network. Verify that the BGP reports this route as valid and best in your BGP table. Also, by issuing the command show ip bgp make sure that it was announced to your ISP's router: look for the number of the update-group in that command's output and then checking who is a member of that update group by entering show ip bgp update-group

2.) Skip this step if you are running eBGP with your ISP. Otherwise, if you are running iBGP to your ISP, verify what is the next hop address attribute of the network in your BGP table. If it is not then it might be possible that the ISP does not know the route to that next hop. In this case, using "next-hop-self" in the BGP neighbor configuration might help.

3.) Assuming that the route has been announced to your ISP with a reachable next hop (you can verify this also by debugging the BGP), the ISP should have received that route from you. On the Branch, verify the BGP table by show ip bgp. If the network is not there, you will probably need to discuss this with your ISP. If it is there but did not make it into your routing table, try to verify if its next hop is reachable.

Also, debugging the BGP on the Branch site might provide useful output - perhaps the AS_PATH already contains the AS number of the Branch site and the router rejects it, or there may be another hint as to what is the problem.

Best regards,


New Member

Re: BGP - Missing Routes

Thank You for the reply.

At HQ when I do

show ip bgp

network not in table.

All Branches network are seen at HQ via (*>) network is learnt via ospf at HQ and this network is not directly connected at HQ.

Instead of getting all routes I need to filter Networks from HQ to branch

networks from branch to HQ

Cisco Employee

Re: BGP - Missing Routes


Your description is somewhat confusing - I am struggling to understand where is the network located.

For now, I assume that it is somewhere on the HQ site and it is being announced by OSPF.

Now, you have said that this network is not in the show ip bgp output on the HQ. Do you see it in your routing table on the HQ at all? It should be present as an OSPF route. If it is present in the routing table but not in the BGP table then it should only be a problem of redistributing that network into BGP. In that case, double-check your redistribution configuration.

Best regards,


Re: BGP - Missing Routes

is the in the HQ side?

can you do the follwoing command on the HQ router

show ip bgp nei X.X.X.X avertised-routes

where x.x.x.x is the ISP next hope router to you HQ router

CreatePlease to create content