Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 731
  • Last Modified:

show ip bgp sum output

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
andrew_89
Asked:
andrew_89
1 Solution
 
rfc1180Commented:
>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
 
andrew_89Author Commented:
great thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now