Forum Discussion
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.
- Chris_Olson
Nimbostratus
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 }
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