07-27-2022 09:26 AM - edited 07-27-2022 09:46 AM
Hello,
I have been working on a ASR9K 32 bit running IOS-XR 6.3 and I have some questions regarding memory allocation for the BGP process. BGP is configured with soft reset and support neighbors dynamic inbound soft reset. Lately, I have made a change to drastically reduce the number of prefixes in the BGP table, from about 7 millions to less than a million, but I have not seen a change in the memory usage for the process. I have checked memory using the command "show process memory JID location XXX". At this point, I have a few questions:
Thank you!
Regards,
Gavino Cherchi
07-27-2022 09:34 AM
You want to save the memory ?
can I see the full config of the BGP?
keep in mind that
Soft reset—A soft reset uses stored prefix information to reconfigure and activate BGP routing tables without tearing down existing peering sessions. Soft reconfiguration uses stored update information, at the cost of additional memory for storing the updates, to allow you to apply new BGP policy without disrupting the network. Soft reconfiguration can be configured for inbound or outbound sessions.
07-27-2022 09:52 AM
Hello @MHM Cisco World ,
Thank you for your quick reply and suggestion. I guess the real questions that myself and my team have is around memory allocation and how we can reliably check memory to avoid the BGP process from crashing for lack of it.
07-27-2022 09:55 AM
and I see inbound soft reset that why I ask config, the soft reset save all prefix learn from neighbor,
so even you see 1M in show ip bgp
there are 5M save in memory.
but let be so sure share config and i will check it
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide