Forum Discussion

pedinopa_170325's avatar
pedinopa_170325
Icon for Nimbostratus rankNimbostratus
Jun 07, 2018

LTM policy

I am using the powershell icontrol toolkit to query my LTM policies to see which virtual servers they are linked too. I see there is a cmdlet to get where an ASM policy is linked but not a LTM traffic policy. Is there a cmdlet to do this or would it be better to use tmsh?

 

2 Replies

  • If you have a specific access policy, you can do it like this tmsh list ltm virtual one-line | grep ACCESS_POLICY_NAME. The data isn't the prettiest since it compresses it to one line, but it works.

     

  • If you have a specific access policy, you can do it like this tmsh list ltm virtual one-line | grep ACCESS_POLICY_NAME. The data isn't the prettiest since it compresses it to one line, but it works.