The amount of memory required to store BGP routes depends on many factors, such as the router, the number of alternate paths available, route dampening, community, the number of maximum paths configured, BGP attributes, and VPN configurations. Without knowledge of these parameters it is difficult to calculate the amount of memory required to store a certain number of BGP routes. Cisco typically recommends a minimum of 512 MB of RAM in the router to store a complete global BGP routing table from one BGP peer. However, it is important to understand ways to reduce memory consumption and achieve optimal routing without the need to receive the complete Internet routing table. Refer to
Questions in my previous post were relating to default BGP configuration toward Internet (to ISPs): No soft-reconfiguration, no multipaths, no route dumpening.
BGP session is for Internet uplink (there is no VPN but there is standard BGP attributes). Also I need full Internet routing table, so I cannot filter it.
It is not so important the know correct number regarding RAM consumption in MBs, but more qualitative approximation.
a) The main question is if router R is connected to 3 different ISPs via eBGP: Does router R store two 3 BGP tables, then form from its BGP table (which consists of received 3 x 300.000 = 900.000 routes) the RIB table (formed from best routes from BGP table which would have 300.000 routes).
b) Other question would be the scenario with router R that is connected via iBGP to two diffrenet border routers which are further connected to 2 diffrent ISPs via eBGP. (R is route reflector)
So will router R have (after some period) only BGP table with cca 300.000 routes (because border_routers exchanged each other BGP tables via route reflector and after all advertises to R only the best routes) or will it have BGP table that consists of full intenet table form R_border1 and R_boder2 (that should be 300.000 routes from R_border1 + 300.000 routes from R_border2)?
c) Also How router model relates to memory consumption? Shouldn't router have the same BGP and RIB tables no mether wheter 7600 , GSR or 2900 series is involved? And if they have the same tables hence they should allocate the simmilar amount of memory in RAM,
It would be somewhere around 370000 Network Entries which i can see on my router as of now.
When you run full BGP Resources are comsumed by -
# show ip bgp sum
374398 network entries using 49420536 bytes of memory
374398 path entries using 19468696 bytes of memory
62737/62406 BGP path/bestpath attribute entries using 10539816 bytes of memory
56722 BGP AS-PATH entries using 2097412 bytes of memory374398 network entries using 49420536 bytes of memory 374398 path entries using 19468696 bytes of memory 62737/62406 BGP path/bestpath attribute entries using 10539816 bytes of memory 56722 BGP AS-PATH entries using 2097412 bytes of memory
BGP using 81440248 total bytes of memory >>> If I convert in MB =77.66747
This is the router running full BGP with ISP with I GB RAM.
When you peer with multiple then hardly matter network entries but path will be doubled based on peering. CEF and other factors will also comsume RAM .
I would also recommond to go for 1 GB RAM.
In second example yes that will get routes from two peer so basically number of path will get changed would be double .
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...