-
Notifications
You must be signed in to change notification settings - Fork 388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'show ip ospf neighbors detail' really slow on switch with many ospf neigbors #747
Comments
Thanks for reaching out piestack support team, I will be looking at your ticket and reviewing it . |
Hi frdaigle, |
Hi, And , also would be good if you can share the reference logs (manual) to analyze further data to cross check. Are the system CPU/memory status only peaks when executing these cli`s ? |
closing the issue as no response was received. |
Opened PR #780 to address this issue. Testing showed that the time it took to parse the command went from 14 minutes down to ~1 minute with the optimized parser. |
Parsing the command will last about 14 minutes on a switch with about 230 ospf neigbors.
I had a look parser's code and a 'show run | section router ospf {instance}' is run for each neighbor to gather vrf data. I would be more efficient to run a 'show run | section router ospf' once and refer to the returned dictionary for all neighbors.
The text was updated successfully, but these errors were encountered: