vserver fpolicy disable

Contributors

Disable a policy

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver fpolicy disable command disables an FPolicy policy for the specified Vserver.

Note This command is not supported for a Vserver with Infinite Volume.

Parameters

-vserver <Vserver Name> - Vserver

This parameter specifies the name of the Vserver on which you want to disable an FPolicy policy.

-policy-name <Policy name> - Policy

This parameter specifies the name of the FPolicy policy you want to disable.

Examples

The following command disables an FPolicy policy.

cluster1::> vserver fpolicy show
Vserver                 Policy Name                    Sequence  Status Engine
----------------------- ------------------------------ --------  ------ --------
vs1.example.com         vs1_pol                               -  off    native
vs2.example.com         vs2_pol                               5  on     external
2 entries were displayed.

cluster1::> vserver fpolicy disable -vserver vs2.example.com -policy-name vs2_pol

cluster1::> vserver fpolicy show
Vserver                 Policy Name                    Sequence  Status   Engine
----------------------- ------------------------------ --------  -------  -------
vs1.example.com         vs1_pol                               -  off      native
vs2.example.com         vs2_pol                               -  off      external
2 entries were displayed.