The following table lists the FPolicy CLI commands.
| Input Name | Description |
|---|---|
| fpolicy help [cmd] | Used to show the CLI help |
| fpolicy create PolicyName PolicyType | Used to create a file policy |
| fpolicy destroy PolicyName | Used to delete a file policy |
| fpolicy enable PolicyName [-f] | Used to enable a file policy |
| fpolicy disable PolicyName | Used to disable a file policy |
| fpolicy show PolicyName | Used to display a file policy |
| fpolicy servers show PolicyName | Used to display the FPolicy server status information |
| fpolicy servers stop PolicyName IP-address | Used to disable the FPolicy server connection |
| fpolicy options PolicyName required {on|off} | Used to turn on or turn off the required option for a file policy |
| fpolicy options PolicyName secondary_servers [IP-address [,IP-address ]*] | Used to configure options for FPolicy server |
| fpolicy extension {exclude|include} show PolicyName | Used to display extensions in the include or exclude lists |
| fpolicy extension {exclude|include} reset PolicyName | Used to reset extensions in the include or exclude lists |
| fpolicy extension {exclude|include} add PolicyName ext-list | Used to add extensions to the include or exclude lists |
| fpolicy extension {exclude|include} remove PolicyName ext-list | Used to remove extensions from the include or exclude lists |
| fpolicy extension {exclude|include} set PolicyName ext-list | Used to set or replace all the extensions in the include or exclude lists |
| fpolicy volume {include|exclude} show PolicyName | Used to display volumes in the include or exclude lists |
| fpolicy volume {include|exclude} reset PolicyName | Used to reset volumes in the include or exclude lists |
| fpolicy volume {include|exclude} addPolicyName vol_spec | Used to add volumes to the include or exclude lists |
| fpolicy volume {include|exclude} removePolicyName vol_spec | Used to remove volumes from the include or exclude lists |
| fpolicy volume] {include|exclude} set PolicyName vol_spec | Used to set or replace all the volumes in the include or exclude lists |
| fpolicy volume {include|exclude} eval PolicyName vol_spec | Used to display the volumes in the include or exclude lists evaluating volumes specified using the wildcard character |
| fpolicy monitor add PolicyName [-p {nfs|cifs|cifs,nfs}] [-f] op_spec [,op_spec ] | Used to add operations to the list of operations that are being monitored |
| fpolicy monitor remove PolicyName [-p {nfs|cifs|cifs,nfs}] [-f] op_spec [,op_spec ] | Used to remove files from the list of files that are being monitored |
| fpolicy monitor set PolicyName [-p {nfs|cifs|cifs,nfs}] [-f] op_spec [,op_spec] | Used to set or replace the list of files that are being monitored |