how many memory one BGP prefix holds
How to find out how many memory one BGP prefix takes? I found out the total amount of memory for BGP with "sh ip bgp summary | i total" command and then added up all the "State/PfxRcd" columns in "sh ip bgp summary" output and divided memory usage with number of prefixes. So in my case one prefix takes 163 bytes of memory. Am I doing it right? Last but not least, is there memory consumption of one BGP prefix different on various router and L3 switch platforms and IOS versions?