Forum Discussion
3 Replies
Sort By
- James_Deucker_2Historic F5 Account
Depends on the version. For v11+ use iApps
http://www.f5.com/products/technologies/iapp/ https://devcentral.f5.com/iapps
You can use tmsh scripts in v10+ https://devcentral.f5.com/tmsh/articles
or in v9 you can script "b" commands with bash.
- Kevin_Davies_40Nacreous
In the Advanced shell...
for n in {1..100}; do tmsh create /ltm virtual vs_myvirtual_${n} destination 10.10.1.${n}:80 profiles add { tcp } pool none; done
This will create 100 virtual's starting at 10.10.1.1 using port 80 with no pools associated with them. If you want pools do the same kind of thing then run the command above with an updated pool name.
- Kevin_Davies_40NacreousHi, if this solved your problem can you tick the box to the left of the post that provided the solution :-)