Forum Discussion
Extract virtuals without a ASM policy
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
2 Replies
- cjunior
Nacreous
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.
- Patrickbbbb
Nimbostratus
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.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com