Forum Discussion

mikegray_198028's avatar
Dec 13, 2017

Bulk update

Hello team,

 

is there anyway to update ciphers of individual profile? i have more than 1800 profiles using own ciphers (not inherited from parent) is there any way for bulk modification ?

 

2 Replies

  • You can do this using the '

    edit
    ' command. It will bring up a vi editor and you can use a find and replace string to update all profiles

     tmsh edit ltm profile client-ssl all
    
     :%s/foo/bar/g
     Find each occurrence of 'foo' (in all lines), and replace it with 'bar'.
    

    Alternatively, you can export the config and use an editor to do the find and replace and merge the edited file.

  • If they all use the same parent profile and inherits the ciphers from it as well you can update the parent profile instead.

     

    /Patrik