Anyone else get errors when running tmsh from .txt ?
Hi all,
I needed to update some nodes to use an ICMP monitor so i decided to use tmsh. I have a .txt file with the following in:
tmsh modify ltm node /part1/Node1 monitor icmp
...
tmsh modify ltm node /part1/Node50 monitor icmp
sh /root/script.txt
I run the above sh command from our staging F5 (11.6.0) and it works fine with no errors. I then try to run the same on another F5 (11.5.1) and i get a variety of errors such as 'invalid character "' and 'can't recognize Nod0' . It seems as if it's skipping some characters even though its an identical file. Only difference is the F5 version. Has anyone else run into this?
Thanks
Edit: I can manually paste int eh contents of the Text file and this works perfectly. I just want to know why i can run the sh command on one and not the other