Forum Discussion
Preyansh_247983
May 24, 2018Historic F5 Account
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?
- youssef1
Cumulonimbus
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
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