Forum Discussion
TMSH Persistence and Server TCP profile command help
Hi all,
I have to create my VIP's over TMSH for our 3rd party to copy/paste the config in (won't do GUI). I'm fairly new to the TMSH, but stuck on how to create a custom persistence profile and apply to the VIP....Also how to create a server side TCP-LAN-Optimization profile and apply to the VIP. I can do the Client side, just server side is getting me a "duplicate profile exists error" see below for what I'm doing....wrong. Thanks.
tmsh create ltm virtual OEM12PROD_AgentRegistration_4889 destination x.x.x.x:yyyy profiles add { tcp-lan-optimized } profiles add { tcp-wan-optimized } pool OEM12PROD_AgentReg_4889 description "This is the Virtual Server for the Agent Registration service" snatpool ITSHAREDSVC_PROD_2040_NAT
3 Replies
- Eric_St__John
Employee
tmsh create ltm virtual OEM12PROD_AgentRegistration_4889 destination x.x.x.x:yyyy profiles add { tcp-lan-optimized {context serverside}} profiles add { tcp-wan-optimized {context clientside}} pool OEM12PROD_AgentReg_4889 description "This is the Virtual Server for the Agent Registration service" snatpool ITSHAREDSVC_PROD_2040_NAT persist replace-all-with { somepersistence profile }
- Jeff_46763
Nimbostratus
Thank you. What does the "replace-all-with" replace? My options are "none" or a "custom profile". When I hear "replace all", I'm thinking that its literally replacing everything I have in config....maybe taking it too literally.
- Eric_St__John
Employee
It will replace all existing profiles of the type your are using that command with, with the one you entered. So, if you had an existing persistence profile assigned to that virtual server, it would replace it with 'somepersistenceprofile'.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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