Forum Discussion
dvalve_376192
Nimbostratus
Nov 05, 2018python show running-config
I am trying to get a Python script to output the running config of my F5, to show everything from authentication to pools to ntp settings. With TMSH/SSH it's so easy doing 'show running-config' and t...
- Nov 21, 2018
I was able to get the running config to show with Python, please see the code below:
from f5.bigip import ManagementRoot mgmt = ManagementRoot("your_f5_ip", 'username', 'password') x = mgmt.tm.util.bash.exec_cmd('run', utilCmdArgs='-c "tmsh show running-config"') print(x.commandResult)
davidy2001
Cirrus
Nov 25, 2022Right, Thank you
- Leslie_HubertusOct 04, 2023Ret. Employee
This article might be of particular interest to Nikoolayy1
- Nikoolayy1Oct 20, 2023
MVP
Nice article! 😀
- MichaelOLearyNov 01, 2023
Employee
Nice article and nice diagram Dan.