Forum Discussion
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