For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Thiyagu_163984's avatar
Thiyagu_163984
Icon for Nimbostratus rankNimbostratus
Aug 07, 2015

Command to save the configuration

Hello All, I'm working on task to upgrade an hotfix for LTM version 11.5.1. I would like to save the system configuration before start of the change.

 

Could you please help me to know the command to save the system configuration and also need the command to check the system interface status (up/down) and it's IP address?

 

will the below command work?

 

save /sys config partitions all

 

System software version.

 

Sys::Version Main Package Product BIG-IP Version 11.5.1

 

Thanks in advance.

 

Regards, Thiyagu

 

6 Replies

  • Are you trying to save a ucs archive first? The command you listed will write the configuration running in memory to disk (ie - to the bigip.conf and other files) but will not make a ucs archive file. You would want to use the "save /sys ucs "

     

    To see information about the interfaces, use "show /net interface".

     

    By the way, if you don't know many command line commands, you don't really need them. You can just as easily do all these tasks from the web interface, and almost everyone does. In the interface, you can take an archive (and then download it) from System -> Archives. You can see interface status under Network -> Interfaces. You can upgrade the software itself most easily by going to System -> Software Management. I would highly recommend you use the web interface to do your upgrade unless you are really comfortable with TMSH on the command line and have used it extensively.

     

    Hope that helps.

     

  • Hi, Thanks for your reply. When the system reboots does it takes the configuration from bigip.conf?

     

    Regards, Thiyagu

     

  • Are you talking about when it reboots into a new volume after an upgrade? In that case, there are a lot of upgrade scripts that run to convert the bigip.conf and other files into the latest version before the system tries to load them.

     

  • yep. I'm talking about when LTM reboots into a new volume and it should come up with the latest running configuration.

     

    If I'm not saving the configuration before reboot, does LTM have the functionality to save the latest running configuration when the system reboots?

     

    All I need is running configuration of LTM should not be missed when the system reloads with the new Hotfix.

     

    Thanks in advance.

     

    Regards, Thiyagu

     

  • Ideally, you probably always have the latest configuration in memory saved to disk, because whenever you make LTM changes in the web interface it automatically applies them to both memory and disk. But just in case, if you want to be sure what's in memory is on the disk, save save /sys config partitions all should do it, as you said. But, F5 does not automatically save configuration in memory to disk before rebooting so you would have to run the command before beginning your upgrade.

     

    Just as a precaution though, I would recommend you also run the command above to create a UCS on all boxes being upgraded, and then download them to a safe place. I've been working with F5s for a number of years and have done quite a few upgrades, and on occasion bad things happen and you may want to restore from a UCS backup. It's rare, but better safe than sorry!