Forum Discussion
mvo_65102
Jan 30, 2017Nimbostratus
Native tmsh/bash commands via REST API
Hi all,
is there a way to execute native tmsh or bash commands using the REST API?
As long as there are not all configurations controllable by REST i would like to execute some commands directly...
Zdenda
Cirrus
Hi, is here any way how to call tmsh command within a partition?
Jason_Adams
Sep 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"
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