Solved

show ip bgp sum output

Posted on 2011-02-24
2
710 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
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…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

623 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