TMSH with multiline icall script

Hi,

I would like to automatise the adding of icall scripts using TMSH. My questions are: 1. Is TMSH supports multiline? 2. How to import/create an icall script without lauching a pseudo “vim” FYI: I tried to create a blank one and then modify it definition.

I’m not too familiar with the icall script part, but in my experience, I haven’t been able to find a way to do multiline TMSH commands. the closest thing I could do was multiline commands in the bash shell (prefixed by

tmsh

to invoke the shell), but all that does is combine the multiple lines in bash to a single line in TMSH.

For updating configs, I generally use within tmsh this command:

load sys config from-terminal merge

(to verify, I add

verify

after merge). Then I paste in the config and save it. It’s not a vi shell, but it does let you paste and execute your config to merge it.

Hope this helps at least a little bit.

Hi Michael,

Thank you for your feed back. That works using “tmsh load sys config from-terminal merge < multine_input_file” from shell.

If you could, please mark the answer as solution so other can see it’s solved. Thanks