networker050184 wrote: » Around 100 bytes sounds about right. Things can differ slightly depending on things like communities attached etc as far as I know. You will probably end up with memory calculated slightly different by platform/IOS version but I doubt it wuld be off by any significant number without hitting some sort of memory leak.
r2#sh ip bg 192.168.1.0 BGP routing table entry for 192.168.1.0/24, version 33 Paths: (1 available, best #1, table default) Not advertised to any peer 65000 10.10.10.1 from 10.10.10.1 (192.168.1.1) Origin IGP, metric 0, localpref 100, valid, external, best r2#sh ip bgp summary | i bytes of memory 1 network entries using 136 bytes of memory 1 path entries using 56 bytes of memory 1/1 BGP path/bestpath attribute entries using 128 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 344 total bytes of memory r2#
r2#sh ip bgp 192.168.1.0 BGP routing table entry for 192.168.1.0/24, version 34 Paths: (1 available, best #1, table default) Not advertised to any peer 65000 10.10.10.1 from 10.10.10.1 (192.168.1.1) Origin IGP, metric 0, localpref 100, valid, external, best Community: 1111:222 2222:333 4444:555 6666:777 8888:999 r2#sh ip bgp summary | i bytes of memory 1 network entries using 136 bytes of memory 1 path entries using 56 bytes of memory 1/1 BGP path/bestpath attribute entries using 128 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 1 BGP community entries using 40 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 384 total bytes of memory r2#
r2#sh ip bgp summary | i bytes of memory 1 network entries using 136 bytes of memory 1 path entries using 56 bytes of memory 2/1 BGP path/bestpath attribute entries using 256 bytes of memory 1 BGP AS-PATH entries using 24 bytes of memory 2 BGP community entries using 48 bytes of memory 0 BGP route-map cache entries using 0 bytes of memory 0 BGP filter-list cache entries using 0 bytes of memory BGP using 520 total bytes of memory r2#
m4rtin wrote: » How to explain this? In addition, it keeps the memory consumption high.
srg wrote: » It probably has to wait for the BGP Walker process to remove the old path, and it runs once ever 60 seconds by default.