Forum Discussion
Luca_55898
Jul 17, 2012Nimbostratus
change virtual server type with TMSH command?
Hi,
I would like to know how I can change the virtual server type using tmsh.
So if someone configures a virtual server as a 'standard' type, and I want to change it to 'performance (layer4)' How can I do this using TMSH?
I tried but can't really see where it is:
'modify ltm virtual vs-1.1.1.1 ??'
Cheers.
- Mark_Crosland_2Historic F5 Accounttmsh does not directly expose a type field. tmui uses the type field to filter the profiles that are presented. tmsh is not a gui/browser and does not provide that type of filtering.
- Luca_55898NimbostratusSo basically there is no way to modify an existing standard virtual server to a performance (layer 4) virtual server using TMSH?
- hooleylistCirrostratusHi Luca,
list ltm virtual my_http_vs ltm virtual my_http_vs { destination 1.1.1.1:http ip-protocol tcp mask 255.255.255.255 persist { cookie { default yes } } pool http_pool profiles { http { } tcp { } } vlans-disabled } modify ltm virtual my_http_vs profiles replace-all-with { fastL4 } persist replace-all-with { source_addr } list ltm virtual my_http_vs ltm virtual my_http_vs { destination 1.1.1.1:http ip-protocol tcp mask 255.255.255.255 persist { source_addr { default yes } } pool http_pool profiles { fastL4 { } } vlans-disabled }
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