validate policy_file

Use the validate policy_file command to validate the syntax and settings in a specified security policy file.

Syntax

validate policy_file <string>
    [policy_name <string>]
    [domain_identity_password <string>]

Parameters

The following table lists the parameters for this command with a description of each parameter.

validate policy_file Parameters
Parameter Description
policy_file Specifies the name of the security policy file to be validated.
policy_name Optional. Specifies the name of a specific security policy to be validated.
domain_identity_password Optional. The password for the domain identity key in the security policy file. If not specified and the key requires a password, you are prompted to supply the password.

Example

The following examples illustrate the syntax of the validate policy_file command:

  • validate policy_file 'policy.txt'
  • validate policy_name 'mypolicy' policy_file 'policy.txt'
    Note: String values passed as parameters must be enclosed in either single or double quotes.