Forum Discussion
Reset all configuration to default except bigip_base.conf
Hi everyone,
Is there a way I can reset the configuration of my vCMP guest but still retain its network and HA configuration?
I've read this article: https://support.f5.com/csp/article/K6887 but I'm not sure if this still works on the new versions (v11 and v12?
Many thanks!
3 Replies
- jaikumar_f5
Noctilucent
I dont recall there's one for 11.x. When you run
, it wipes out every configuration and sets it to factory default setting.tmsh load sys config default
In order to have default bigip.conf, I'd try the below setups.
Pre-requisite, you should have a fresh bigip.conf file.
- Have a ucs backup taken.
tmsh save sys ucs /var/tmp/before_reset.ucs
- Have a original bigip.conf backup taken.
cp /config/bigip.conf /var/tmp/before-reset-bigip.conf
- Have the fresh bigip.conf file moved to /config/bigip.conf
cp /var/tmp/fresh-bigip.conf /config/bigip.conf
- Load the config, in this way, your network settings are intact and you have a fresh bigip.conf
tmsh load sys config
In the event there's no fresh bigip.conf file, I would just take UCS backup, reset it to default. Now I have fresh bigip.conf file. I would take a copy of this and load the original UCS again and put back this fresh bigip.conf file and load the config.
- Have a ucs backup taken.
tmsh save sys ucs /var/tmp/before_reset.ucs
- Have a original bigip.conf backup taken.
cp /config/bigip.conf /var/tmp/before-reset-bigip.conf
- Reset to factory setting.
tmsh load sys config default
- Have the fresh bigip.conf file moved to /var/tmp/bigip.conf
cp /config/bigip.conf /var/tmp/fresh-bigip.conf
- Load the original UCS back again, in this way your network settings are again loaded.
tmsh load sys ucs /var/tmp/before_reset.ucs
- Now that you have fresh bigip.conf file in the temp folder, move it back and load the config.
cp /var/tmp/fresh-bigip.conf /config/bigip.conf
- Load the config.
tmsh load sys config
Do wait for others to comment on their methods. If there's any easy approach, you can try that.
- Have a ucs backup taken.
- Lee_Sutcliffe
Nacreous
fairly sure you can just load bigip_base.conf and it will re-load the base file and not bigip.conf.
- aries22
Altocumulus
Hi jaikumar_f5 and MrPlastic, thank you for the suggestions!
Unfortunately, prior to resetting the config to default, we already had an error for
. Due to this error,tmsh load sys config
also did not work.tmsh load sys config default
F5 support suggested we run:
mv /config/bigip.conf /config/bigip.conf.old
tmsh load sys config
then proceed with loading bigip_base.conf.
Thank you for the help guys!
Recent Discussions
Related Content
* 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