Forum Discussion
Joel_Breton
Nimbostratus
Jun 29, 2017Running multiple tmsh commands
I'm trying to run multiple commands to change the names of BIG-IP objects. I tried two methods without any success.
Method 1: Copy all the commands and paste in the putty session
Problem: When ...
Joel_Breton
Nimbostratus
Jun 29, 2017I was able to fix Method 2 by removing tmsh from the text file and call the file with tmsh instead of sh.
[root@localhost:Active:Standalone] ~ tmsh < renamenodes.txt
Content of renamenodes.txt
mv ltm node /mypart/10.1.1.1 /mypart/newname1
mv ltm node /mypart/10.1.1.2 /mypart/newname2
mv ltm node /mypart/10.1.1.3 /mypart/newname3
mv ltm node /mypart/10.1.1.4 /mypart/newname4
All 230 nodes were successfully renamed without issues.
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