03-14-2016 08:16 AM - edited 03-05-2019 03:33 AM
Hello,
Could an OSPF process missing the passive-interface default configuration cause high CPU utilization?
% Ambiguous command: "sh pro cpu "
MZ-CE-SR-1A#sh pro cpu | i OSPFC cpu | i OSPF
378 252604 15214152 16 0.00% 0.00% 0.00% 0 OSPF-244 Router
450 1646220948 40780674 40368 45.43% 20.98% 19.82% 0 OSPF-50 Router
03-14-2016 09:05 AM
You do not provide much information to work with so we must trust to generalities in attempting to answer your question. It certainly is possible that the OSPF routing process could contribute to high CPU utilization, especially if it were processing SPF calculations frequently. So it might be helpful to look at output of show ip ospf several times over a period of time and see how frequently it is doing SPF calculations.
If there are a lot of SPF calculations then the question becomes whether there are some interfaces that are active in OSPF, that would not have been included in OSPF if the passive-interface default were applied, and if those interfaces are generating lots of events that cause SPF calculation.
HTH
Rick
03-14-2016 09:12 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
I've seen additional/needless redundancy add to OSPF processing load, and even cause network instability if there's a flapping network, which judicious passive-interface precluded, but on the whole, I doubt not using passive-interface, alone, is the cause of your high OSPF CPU.
Look for some kind of link instability.
03-14-2016 09:57 AM
Hello Joseph, thanks for your help.
I don't see network instability until now, the OSPF 50 neighbors are up an full for a long time without flaps. We configured the passive-interface default, but the 6500 still reaching cpu spikes of 60% during the day and night.
I'm trying to find if there are many SPF calculation.
03-14-2016 11:42 AM
What does show ip ospf statistics reveal?
03-14-2016 01:01 PM
It is good that OSPF 50 neighbors are up and full for a long time. But that does not mean that there have not been events that cause SPF calculation. It might be helpful if you post the output of show ip ospf and of show ip ospf statistics.
HTH
Rick
03-15-2016 10:50 AM
03-15-2016 11:38 AM
Thanks for providing the OSPF statistics. I am not clear about the significance of the ip routing selected the way it was. The OSPF statistics show 1103 SPF runs. So do that display, wait a while, and do it again. Then tell us how quickly that number is incrementing.
It is interesting and perhaps helpful to note that it looks like what is triggering SPF are changes in external routes. This confirms your observation that neighbors have been stable and not flapping or bouncing. What is changing are routes that are being redistributed into OSPF.
HTH
Rick
03-16-2016 09:46 AM
03-16-2016 09:55 AM
Thanks for the additional information. It is interesting that the number for SPF calculations has not changed. So it is not the SPF calculation which is driving CPU utilization. If there are many BGP routes that are flapping (which is not unusual if this is actual Internet BGP routes) and are being redistributed into OSPF then it is quite possible that it is the processing of updating the OSPF database for these routes and updating the IP routing table with these routes that is driving up CPU utilization.
HTH
Rick
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