Forum Discussion
Alscion_68122
Mar 11, 2011Nimbostratus
Can't use variable for vlan selection during route domain creation?
Hello World, I have to create several route demain and associate 2 vlans per route domain with tmsh script. - I try it making a for loop for my total number of route domain t...
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} \}
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