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 'performanc...
hooleylist
Jul 25, 2012Cirrostratus
Hi Luca,
Mark was trying to say that the virtual server "type" is just a friendly name used in the GUI which doesn't actually exist in tmsh or the conifuration. If you have an HTTP VS with a couple of L7 options enabled, you can change it to a fastL4 using tmsh:
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
}
Aaron
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