Any way for find which virtual servers are using a spcified policy ?

I have a couple of hundreds of virtual servers. I like to find which virtual servers are using a spcific policy. How to do that ?


thanks !!

You could use the iControl REST API to pull data from the load balancers and query the results.


"/mgmt/tm/ltm/virtual" should do the trick.


/Patrik

I may be missing something here, but you should be able to do a simple list command and just grep for what you are looking for.


list ltm virtual all | grep "POLICYNAME"


Let me know if that does the trick or if you are looking for something else.