Forum Discussion
Nick_T_68319
Nimbostratus
Mar 18, 2014Config to tmsh commands
Is there anyway to take an existing config and output it all to tmsh commands? For example, if I wanted to delete everything, then re-run a script to re-add it?
4 Replies
- uni
Altocumulus
and the correspondingtmsh save sys config file
commands can be used for this. You can edit a copy of the saved file and reload it.tmsh load sys config file
Another option worth exploring is taking output from the list commands, such as
, editing it, and merging it back in withtmsh list ltm
.tmsh load sys config merge
- Nick_T_68319
Nimbostratus
Perfect, thanks! I used tmsh load sys config merge and it worked perfectly.
- sprashanthac_81
Nimbostratus
What version is this working in "tmsh load sys config merge". Also this is for LTM or GTM. I know it works for LTM.
- This should work in anything from 10.x i believe, if not definitely 11.x. This should work for any F5 module.
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