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

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

#1

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 !!


#2

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


#3

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.