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

Naresh_N's avatar
Naresh_N
Icon for Nimbostratus rankNimbostratus
Oct 23, 2015

Include file for VIPs

Hi there,

 

Is there a way to maintain a separate file for VIPs and include it in bigip.conf so its easier to maintain and sync to other devices as needed?

 

Thanks Naresh

 

4 Replies

  • Not sure what you ate trying to achieve? If you want to separate your config up to make management easier consider using Partitions, each Partition will write config under a new folder.

    /config/partitions//
    

    So you will get a bigip.conf file for each partition.

  • The answer to your question is no. If you use partition configuration it will maintain a seperate config file in each partition subdirectory /config/partitions//bigip.conf but that's not a supported way to maintain your configuration.

     

    You should be using device groups and traffic groups to syncronize configuration between devices. If you just want to copy config elsewhere for backup then then "tmsh save sys config" should be used.

     

  • Hi all, Thanks for the responses but I am not trying to create configuration in separate partitions, nor do I want that. What I would like is if I can separate out VIP configurations in a file and then include this file in main bigip.conf. This way I can sync the VIPs to other devices. I appreciate the suggestion that I should use device groups etc to sync config but does that work if I don't have licenses for some modules on other devices?

     

    From what F5 tech tell me, its not possible at present.

     

    Naresh

     

  • You can write a config file and merge it with the main bigip.conf using

    tmsh load sys config file  merge
    

    However this will only add to the config and will be unable to remove config and not something I have done outside migrating config to F5.

    Another option is to build a script to modify the config via tmsh.