Forum Discussion
F5 Load Balancer Configuraiton extraction
I would like to know how to extract the entire configuration of my F5 box that is running in the network either from GUI export or any API or any script.
Do we have any API exposed where in i can call them to pull out the data (VIPs and their corresponding pool members IPs and other detials).
Or can i write python script to extract the data.?
This is a bit urgent need and early response would be appreciated..
Thansk,
Bal Reddy
balreddyg@in.ibm.com
- cjunior
Nacreous
Hello, have you read about iControl API?
I think all that you need you can find on it.
For example, the bash code bellow extract the running config from the box as you can do in tmsh:
curl -vsku admin -X POST -H 'Content-Type: application/json' -d '{"command":"run", "utilCmdArgs":"-c \"tmsh show running-config\""}' https://localhost/mgmt/tm/util/bash
There are many ways to get virtual servers, pools, etc.
Please, refers to the manual.
https://clouddocs.f5.com/api/icontrol-rest/
Regards
- Dario_Garrido
Noctilucent
Your solution is great , but i think 's idea is better.
KR,
Dario.
Recent Discussions
Related Content
* 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