Forum Discussion

Chris_Olson_172's avatar
Chris_Olson_172
Icon for Nimbostratus rankNimbostratus
Oct 25, 2018

TMSH syntax to add or remove compression profile on virtual

I have been through multiple articles but can't find the syntax to add or delete a compression profile from a Virtual via the command line. I had a cheat sheet but my laptop was stolen so I am back to square one. I need to delete the existing one and apply a new one. Both of the below are failing:

 

tmsh modify ltm virtual virtual-name profile http-compression Http_compression-compression_new delete

 

tmsh modify ltm virtual virtual-name delete profile http-compression Http_compression-compression_new delete

 

What am I missing? http-compression is the type, and Http_compression-compression_new is the profile.

 

1 Reply

  • I made the mistake of including the profile type (required for ssl profiles). I have it working now that I stopped over-thinking it.

     

    tmsh mod ltm virtual virtual-name profiles delete { Http_compression-old }

     

    tmsh mod ltm virtual virtual-name profiles add { Http_compression-new }