Forum Discussion
Zdenda
Sep 04, 2018Cirrus
Hi, is here any way how to call tmsh command within a partition?
- Jason_AdamsSep 13, 2019Employee
Hello ,
You can absolutely call a tmsh command from within a partition. You can use the tmsh -c flag to run multiple tmsh commands in a single instance.
So you first cd to the partition, then run the desired command:
tmsh -c "cd /<partition>; <command>
For Example, if I want to list all Virtual Servers in the /test partition:
tmsh -c "cd /test; list ltm virtual"