BGP4 routing table size

This should be easy but I don't have the time to look for it..

I have to internet routers connected to the internet. Both are running BGP to their respective ISP. They are also running IBGP between them to load share and have better route selection.

I am taking full routes on both routers...

What is the current size of the BGP routing table that I should see and where can I find it for future refference.

LVL 12
Who is Participating?
td_milesConnect With a Mentor Commented:
It's hard to put an exact figure on it, as it will be implementation dependant. This is why you see the BGP route table described in terms of the number of entries usually.

If you look at this Cisco page (which is about using AS filters to reduce BGP table size):
down the bottom there is a table that shows the following:

            Number of Prefixes     Memory Consumed
Full Routes     98,410     70,882,248
AS Filter     31,667     28,132,528

The table is obviously to illustrate the the saving you can achieve. If from that table you calculate the about of memory per BGP entry, it comes out at 720 bytes & 888 bytes respectively. If you take the higher of those two figures (888 bytes/BGP entry) and apply that to the current size of the BGP table:
(lets take the higest value), you get:

164378 BGP entries * 888 bytes/BGP entry  = 145967664 bytes  (ie. 146 MB)

That's just my stab at it, feel free to take it or leave it. I've seen you around, you should be able to work out if this looks correct or not. I don't have a router that has the full BGP table on it that I can check on at the moment, hence why I'm working it out mathematically. That Cisco page also shows you how to see how much memory the BGP is using.
Scotty_ciscoAuthor Commented:
Ok not number of routes ... the amount of memory that they should be taking ...sorry for the confusion... and roughly not exactly.

Scotty_ciscoAuthor Commented:
that is pretty close to what I was seeing in my router and it all makes sense... for the the numbers set forth actually.

All Courses

From novice to tech pro — start learning today.