Forum Discussion
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
1 Reply
- What_Lies_Bene1
Cirrostratus
How did you copy the file from one box to another?
If you edit the file in vi/m does it look OK?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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