This example is based on "Perl Ltm Config To Xml" by Joe Pruitt: queries the components of a virtual servers configuration and prints it out in an XML format for further processing. Now with a few more data retrieved (SNAT, object status) and does recursively on partitions, this way listing configuration generated by iApps on separate partitions.
./LTM-to-XML.pl bigip user pass
Hello Miguel, Thanks for Publishing. The recursive Part is useful.. You included the NAT Pool.. How do I get and print the NAT Pool Members along with the NAT Pool Name? Same as is done with the LB Pool and Pool Members?
Hello Friedrich. I have updated with newer version to also list SNAT members. Please check.
hello I am new to Perl , where do you add host name usr name and password.
I am getting below error.
500 No Host option provided at C:\perl_test\f5.pl line 148
I suggest you upload/create script on LTM device. Then execute from there like
perl LTM-to-XML.pl 127.0.0.1 username password > result.xml