Forum Discussion
MihirP1129
Nimbostratus
Jun 11, 2019Virtual Servers template?
Hello All, Is there a way to create a Virtual Servers "template" with predefined settings on a Big IP F5 load balancer? We create VS almost every day for our clients and would help if we could ...
- Jun 18, 2019
You can use CLI to create the VS (replace "<...>" fields with the correct value).
tmsh create ltm virtual <VS_NAME> \ destination <VS_IP>:443 \ profiles add { tcp http_20 <CLIENTSSL_PROFILE> } \ vlans replace-all-with { Internal Web } vlans-enabled \ snatpool Prod \ pool Webfarm_pool \ persist replace-all-with { cookie_20 } \ rules { httpTest_irule1 httpTest_irule2 httpTest_irule3 }Finally you have to save the config from running-config to startup-config.
tmsh save sys configKR,
Dario.
Dario_Garrido
Noctilucent
Jun 18, 2019You can use CLI to create the VS (replace "<...>" fields with the correct value).
tmsh create ltm virtual <VS_NAME> \
destination <VS_IP>:443 \
profiles add { tcp http_20 <CLIENTSSL_PROFILE> } \
vlans replace-all-with { Internal Web } vlans-enabled \
snatpool Prod \
pool Webfarm_pool \
persist replace-all-with { cookie_20 } \
rules { httpTest_irule1 httpTest_irule2 httpTest_irule3 }Finally you have to save the config from running-config to startup-config.
tmsh save sys configKR,
Dario.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects