Checks the syntax of the specified policy.
policy-name | Specifies the policy to check. |
access-list | Specifies that an access list specific check is performed. |
N/A.
Use this command to check the policy syntax before applying it. If any errors are found, the line number and a description of the syntax error are displayed. A policy that contains syntax errors will not be applied.
This command can only determine if the syntax of the policy file is correct and can be loaded into the policy manager database. Since a policy can be used by multiple applications, a particular application may have additional constraints on allowable policies.
The following example checks the syntax of the policy zone5:
check policy zone5
If no syntax errors are discovered, the following message is displayed:
Policy file check successful.
This command was available in ExtremeXOS 10.1.
The success message and the access-list keyword was added in ExtremeXOS 11.4.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.