Hi SMP,
I was going to suggest reading up in the tmsh reference guide. But it looks like there are some issues with the examples in the 10.2.0 guide. Here's the example they give:
create virtual myV2 {destination 11.11.11.12:any persist add {source_address} pool myPool}
But this didn't work for me:
tmsh create ltm virtual myV2 {destination 11.11.11.12:any persist add {source_address} pool myPool}
Syntax Error: "persist" unexpected argument "add" one of the following must be specified:
none, replace-all-with
This worked though:
tmsh create ltm virtual my_vs {destination 11.11.11.12:any persist replace-all-with {source_addr} pool ubuntu_http_pool}
and here's the result:
virtual my_vs {
pool ubuntu_http_pool
destination 11.11.11.12:any
persist source_addr
}
Aaron