Forum Discussion
Mark_Crosland_2
Mar 11, 2011Historic F5 Account
Another issue is that {}'s are special characters in both tmsh and Tcl, so they must be escaped in Tcl so that Tcl doesn't swallow them.
tmsh::stateless enabled
set ip-value "10.1.1.2:80"
tmsh::create ltm pool foo members add "{ ${ip-value} }"
or
tmsh::create ltm pool foo members add \{ ${ip-value} \}