Mar 27, 2026 - For details about updated CVE-2025-53521 (BIG-IP APM vulnerability), refer to K000156741.

Forum Discussion

Preyansh_247983's avatar
Preyansh_247983
Historic F5 Account
May 24, 2018

How can we execute command load sys config default using f5-sdk or icontrol rest?

How can we execute command 'load sys config default' using f5-sdk or icontrol rest?

 

1 Reply

  • Hi,

    try this: Load BIG-IP® system configuration using the load command by making an iControl® REST request with the POST method and a JSON body

    To replace the running configuration using the load command, make a POST request. In the JSON body,specify the command.

    POST /mgmt/tm/sys/config
    
    {
    "command":"load",
    "name": "default"
    }
    

    Using Curl:

    curl -v -sk -u admin:admin https://localhost/mgmt/tm/sys/config -H 'Content-Type: application/json' -X POST -d '{"command":"load","name":"default"}'

    Keep me in touch if it's you waiting for...

    For more info: https://devcentral.f5.com/DesktopModules/Downloads/API/downloadservice/DownloadFile/241?version=349

    Regards