Forum Discussion
kridsana
Nov 06, 2021Cirrocumulus
iControl or script to get dynamic route from F5
Hi
I currently use F5 with dynamic routing (Learn BGP dynamic route from neighbor router).
Problem is sometimes router can't send me route and all dynamic route is gone. (we got downtimes and there is no alert to us)
Do we have iControl script or any script command to get route list from F5 ? I only know tmsh command to get dynamic route.
So there will be alert to us when routing have a problem.
Thank you
Hello Kridsana.
You can catch any bash command from a F5 using iControl REST.
curl -sku admin -X POST -H "Content-Type: application/json" -d "{\"command\":\"run\", \"utilCmdArgs\": \"-c 'tmsh show net route'\"}" https://localhost/mgmt/tm/util/bash | jq
Regards,
Dario.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects