10-07-2008 12:10 PM - edited 03-03-2019 11:49 PM
Is there a way to verify that my BGP(internet) internet connected router is getting all the internet routes it should be getting?
10-07-2008 12:12 PM
You should be able to run:
sh ip bgp neig
sh ip route bgp
Others know more about BGP than I do, but these are the basic commands to see if you have a neighbor configured, and then to see if you're BGP routes are showing up in your routing table. They'll be marked with a "B."
--John
10-07-2008 12:44 PM
thank you but I was probably to vague in my qiestion. I understand how to see BGP neighbors and view BGP routes in the routing table I was more concerned with being able to verify that I was getting all the routes from my ISP. Now that I look at it more closely I am not sure there is any way other than seeing the total route counts and if it is in 100K+ range assume I am getting all internet routes.
thanks
10-07-2008 11:22 PM
In fact, it's more in the 250K+ range than in the 100K. If you only have ~100K routes, you are missing more than half the internet.
I think your provider is feeding your router with "customer routes", i.e., its own routes plus their clients'.
10-08-2008 12:56 AM
Hello,
You can use the "sh ip bgp sum" command to view quickly an approximate total number of routes received from your ISP.
Sample output:
...
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
...
The value under the "State/PfxRcd" column shows how many prefixes you have received over an established session with your peer (~265990 now).
Check out the website: http://bgp.potaroo.net/ for current status of the Internet Routing Table.
Kind Regards,
M.
10-08-2008 01:06 PM
Hello Mari,
good answer and good link too
Best Regards
Giuseppe
10-08-2008 01:17 PM
great link, thanks for the information.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: