Forum Discussion
raytapay_75679
May 18, 2016Nimbostratus
Input File Containing VIPs for Deletion int TCL Script
I have a long list of VIPs to delete and looking at the sample scripts on Dev Central I only see that the scripts pull the whole list of VIPs and then the operations are done on them. Preferably, I w...
- May 18, 2016
I think that a basic bash script that invokes tmsh commands would be better for your task
For a preparation, format your file as follows with a list of valid tmsh commands (vi search & replace can help with preparation):
tmsh delete ltm virtual vsname1 tmsh delete ltm virtual vsname2 tmsh delete ltm virtual vsname3 tmsh delete ltm virtual vsnameX
Save it as 'deletevs.sh' file
- Execute the file as bash script
, and wait until the labour is donebash deletevs.sh -x
- Execute the file as bash script
Hannes_Rapp_162
May 18, 2016Nacreous
I think that a basic bash script that invokes tmsh commands would be better for your task
For a preparation, format your file as follows with a list of valid tmsh commands (vi search & replace can help with preparation):
tmsh delete ltm virtual vsname1
tmsh delete ltm virtual vsname2
tmsh delete ltm virtual vsname3
tmsh delete ltm virtual vsnameX
Save it as 'deletevs.sh' file
- Execute the file as bash script
, and wait until the labour is donebash deletevs.sh -x
- raytapay_75679May 20, 2016NimbostratusThanks for the response. Actually, I went with Excel as my VI skills are not superb but I see your point.
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