Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

show ip bgp sum output

Posted on 2011-02-24
2
Medium Priority
?
725 Views
Last Modified: 2012-05-11
I am trying to understand memory consumtion for BGP routes. So the memory used would be between ip RIB,CEF, and BGP RIB.

In the output below what does "59 path entries" refer to. I am trying to understand the difference between network entries and path entries. Network appears to be the total unique prefixes in the BGP RIB but path entries is always a higher value? What is this and the meaning of the different line items taking up memory. I have looked at the cisco command reference and still don't quite get the path entries?


BGP router identifier 172.16.1.1, local AS number 100

BGP table version is 199, main routing table version 199

37 network entries using 2850 bytes of memory

59 path entries using 5713 bytes of memory

18 BGP path attribute entries using 936 bytes of memory

2 multipath network entries and 4 multipath paths

10 BGP AS-PATH entries using 240 bytes of memory



thx
0
Comment
Question by:andrew_89
2 Comments
 
LVL 24

Accepted Solution

by:
rfc1180 earned 2000 total points
ID: 34976736
>Network appears to be the total unique prefixes in the BGP RIB but path entries is always a higher value?

If you are running iBGP and using route reflectors, the route reflectors will have double amount of memory as they need to contain full picture of the BGP RIB, and the router reflector clients will typically have less amount of memory used than the network entries; however, if you have multiple paths and not using route reflectors, the path entries can contain more memory than the network entries.

>In the output below what does "59 path entries" refer to
Out of the 37 network entries, there are 59 path entries
This is a result from multipathing (Having multiple paths to the same destination; an additional network entry is not needed as it already exists, an additional path(s) exists)

>What is this and the meaning of the different line items taking up memory.
+network entries = Unique prefixes ( For one prefix, this is typically 120 Bytes, this is also dependent on the IOS version as well)
+path entries = Total paths per prefix (This is typically 52 bytes)
+path attribute = (as-path, communities, extended communities, etc)

BGP path attribute takes up about 52 bytes per path attribute (assuming default attributes; this will vary depending on the number of attributes [as-path, communities, extended communities, etc]).

Billy
0
 
LVL 1

Author Closing Comment

by:andrew_89
ID: 34978593
great thanks
0

Featured Post

Identify and Prevent Potential Cyber-threats

Become the white hat who helps safeguard our interconnected world. Transform your career future by earning your MS in Cybersecurity. WGU’s MSCSIA degree program was designed in collaboration with national intelligence organizations and IT industry leaders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question