Solved

show ip bgp sum output

Posted on 2011-02-24
2
691 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 500 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
New firewall implementation guidance 12 104
ip igmp join-group 8 67
VPN Server config in Modem 5 65
BGP Local Preference 5 44
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

685 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