Forum Discussion

Christopher_Mor's avatar
Christopher_Mor
Icon for Nimbostratus rankNimbostratus
Jan 27, 2020

How to set Big-IP admin port for Big-IQ API

I am trying to establish trust between a Big-IQ 7.0.0.1 to a Big-IP (Virtual). It works just fine through the GUI, because I can specify that the IP is listening on port 8443. When I try to do this via the Big-IQ API ('/mgmt/cm/global/tasks/device-trust') it fails with "currentStep":"CHECK_BIGIP_AVAILABLE", "status":"FAILED".

 

Presumably, this is because I didn't tell it the port to use, but the API documentation doesn't show how to do this, and if I use (10.10.10.10:8443) as the address in the POST, I get: {'code': 400, 'message': "Invalid address (10.10.10.10:8443). Contains v4 and v6 separators but doesn't match mixed notation format.".

 

How can I specify the port?

 

Thanks in advance,

 

  • OK, I was able to answer this one for myself:

     

    {'address': '10.10.10.10, 'httpsPort': 8443, 'userName': 'admin', 'password': 'NeedABetterPassword', 'clusterName': 'Some-Cluster', 'useBigiqSync': true'}

     

    Hopefully this will help someone else