Forum Discussion
Merry95_171142
Nimbostratus
Dec 01, 2014run a list of tmsh commands (copy - paste) failed
Hello,
I have created an automatic VBA script to generate a list of pool from a .xls file.
It codes a list of commands tmsh to create the associated pools. The list is written in txt forma...
Merry95_171142
Nimbostratus
Dec 02, 2014Thank you G.Scott Harris
It seems
load sys config file my_file.txt verify and
load sys config file my_file.txt merge
can do what I want. Unfortunately, it doesnt understand the command 'cd /partition'
Thank you shaggy.
I tried your way, but I get this message error:
"yntax Error: invalid property value "state":"up}}
The line is :
create ltm pool E3_Akio_8236 monitor http load-balancing-mode least-connections-member members add { sprjvihs01:8236 sprjvihs02:8236 {state user-up}}
I tried to adapt the line with no success...
What finally works in my case is :
tmsh < script.txt
That's the simplest way and it works so it suits me π
Merry95_171142
Nimbostratus
Dec 03, 2014The script is created with lines like I'va written above, ie without "tmsh" in front of.
But it's definitely a command list, and not a config file like when running "list ltm virtual ..."
Thank you for your piece of advice! I will think of it next time.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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