Creating a tmsh script with iControl REST and using it to restart HTTPD
Problem this snippet solves: TMSH has the ability to create tcl scripts that can be used to run multiple commands and transactions. It is rare that you will want to create on with TMSH but there are...
Published Dec 29, 2020
Version 1.0Mark_Lloyd
Employee
Joined May 25, 2011
Mark_Lloyd
Employee
Joined May 25, 2011
Nikoolayy1
Jan 24, 2023MVP
Great thanks! I needed to run a bash command but I decided to go with "util/bash" API endpoint (https://community.f5.com/t5/technical-forum/running-bash-commands-via-rest-api/td-p/272516 ) but now I know I can also run bash commands from a tmsh script 🙂