17-Nov-2020
08:23
- last edited on
04-Jun-2023
21:11
by
JimmyPackets
Hello,
I would like to make an extract of all virtuals with no ASM policy. With the following command I can extract a virtuals with a policy:
list /ltm virtual recursive policies
and policy specific:
list /ltm virtual recursive one-line | grep <policy name>
What could I put after the grep to only show the virtuals without a ASM profile?
Thanks in advance.
Patrick
17-Nov-2020
09:03
- last edited on
04-Jun-2023
21:11
by
JimmyPackets
Hello,
You could do a reverse lookup to check if "websecurity" isn't the profile list.
Because when a ASM policy is attached to a LTM policy and VS, a websecurity profile is attached as well.
list /ltm virtual recursive one-line |grep -v "websecurity"
Regards.
18-Nov-2020 00:43
With this command it still shows virtuals with a ASM policy. In ex. the asm_auto_l7 policy. I try to find only the virtuals with no policy at all on.