RestAPI
5 TopicsBackup F5 BigIP using RestAPI and PowerShell (again?)
Hello! I went through the Forum and I saw a lot of related messages but none of them actually answered my question. The documentation [I found] leaves to be desired and I hope that the community is able to help me. I am looking for a simple "backup everything and store as a file" solution and it looks like it is much more than just 2-3 RestAPI calls. So, I am able to connect and get a token. Now, I am googling the "Create Backup" command and nothing works. Could you please point me to the exact link that will create a new backup? I also think that it could be a "story" to download the backup, so I will be happy to get any advice on that also. Thanks.Solved1.8KViews0likes6CommentsAPI: search for address lists containing an IP, or rules containing an address list?
Hello, Using the API, I'm able to look up things like address lists or rule lists if I know their names, for example, a curl to mgmt/cm/firewall/working-config/rule-lists?$filter=name+eq+someRuleListName will give me the desired record contents, or using mgmt/cm/adc-core/working-config/net/ip-address-lists?$filter=name+eq+someAddressListName shows me the contents of the desired address list. But how do I find those records if I don't know their names? For example, if I want to know if the IP 10.1.3.4 exists in an address list, how do I query that from the API? Or, if I know that address list webserverOne exists, how can I find what rules reference that list? Thanks!399Views0likes4CommentsActivate REST-API for health-checks
Hi all, I'm fairly new to the F5 and I need some help. Some VIP's have configured health-checks to monitor if the Frontends are reachable (Iwas told). Now I want to create a "Service" - basically a python script - that builds API-calls and send these via REST-API to the F5 Load-Balancer in order to get the status of the health-checks. But so far I didn't had any luck accessing the REST-API. So I begin to wonder if it is acltive/enabled at all. My curl requests return a 403 although user/pass is correct. I can access the GUI without a problem. How can I check if the API has been enabled ? And if it not running, how can it be enabled ?99Views0likes2CommentsError in REST https call to get the Auth token
Hi All, I am using F5 14.1.5.6 version of F5 and trying to get auth token from /mgmt/shared/authn/login But getting 401 error, please find the detailed error message. Can any one help me with this issue. [{"code":401,"message":"Unable to process request /tm/auth/source. Service is unavailable.","referer":"10.3.4.112","restOperationId":343185765,"kind":":resterrorresponse"}]Solved99Views0likes1CommentImport PKCS 12 SSL to Device Certificate via API/Script or CLI on BIG-IP
We have more than 160 BIG-IP Virtual Edition with version 15.1.10.3 build 0.0.12. We need to import, in each one, an SSL Certificate in PFX/PKCS 12 format in the path System ›› Certificate Management: Device Certificate Management: Device Certificate. We looked in the documentation and the KB but we couldn't find a way to do it. Has anyone dealt with this and have a solution to do it via Script, CLI or API? Thank you.98Views0likes1Comment