hi,
i just recently enabled IPv6 AF on our internet edge router and now stacked with IPv4.
my question is, how to check the TOTAL BGP route/prefix size in bytes consumed on the router by both IPv4 and IPv6 AF?
also anyone have an idea or could share the current FULL IPv6 BGP prefixes and size (in bytes)?
my google searched there's a few commands to use, but not sure which one to refer to so i could monitor the router's memory/performance.
https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/12512-41.html
below are some snippets from my router:
#sh ip bgp ipv4 unicast summary
BGP router identifier 203.x.x.x, local AS number 23yyy
BGP table version is 1065169, main routing table version 1065169
652552 network entries using 96577696 bytes of memory
1235697 path entries using 79084608 bytes of memory
192197/101660 BGP path/bestpath attribute entries using 26138792 bytes of memory
170513 BGP AS-PATH entries using 6695198 bytes of memory
720 BGP community entries using 113756 bytes of memory
4 BGP extended community entries using 96 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 208610146 total bytes of memory
1 received paths for inbound soft reconfiguration
BGP activity 652578/26 prefixes, 1299911/64214 paths, scan interval 60 secs
<SNIP>
#sh ip bgp ipv6 unicast summary
BGP router identifier 203.x.x.x local AS number 23yyy
BGP table version is 2, main routing table version 2
1 network entries using 172 bytes of memory
1 path entries using 88 bytes of memory
18044/1 BGP path/bestpath attribute entries using 2453984 bytes of memory
182276 BGP AS-PATH entries using 7127354 bytes of memory
786 BGP community entries using 119086 bytes of memory
6 BGP extended community entries using 144 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 9700828 total bytes of memory
BGP activity 652584/38 prefixes, 1300004/64293 paths, scan interval 60 secs
<SNIP>
#sh ip route summary
IP routing table name is default (0x0)
IP routing table maximum-paths is 32
Route Source Networks Subnets Replicates Overhead Memory (bytes)
connected 0 6 0 360 1080
static 1 11 0 720 2160
bgp 23xxx 187099 465392 0 39149460 117448380
External: 396961 Internal: 255530 Local: 0
internal 6848 26470312
Total 193948 465409 0 39150540 143921932
#show processes memory | include BGP
3 0 25097672 0 249768 0 0 BGP Task
15 0 0 0 10208 0 0 BGP Scheduler
112 0 470807180 32623932 467624412 6 6 BGP Router
257 0 32794136 24923712 141388 87898 87898 BGP I/O
299 0 0 3049372 10216 0 0 BGP Scanner
338 0 0 0 10160 0 0 BGP Consistency
339 0 0 0 10160 0 0 BGP Event
350 0 0 0 7160 0 0 BGP VA