Policy Manager Commands
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
818
check policy
check policy <policy-name> {access-list}
Description
Checks the syntax of the specified policy.
Syntax Description
Default
N/A.
Usage Guidelines
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.
Example
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.
History
This command was available in ExtremeWare XOS 10.1.
The success message and the access-list keyword was added in ExtremeWare XOS 11.4.
Platform Availability
This command is available on all platforms.
policy-name
Specifies the policy to check.
access-list
Specifies that an access list specific check is performed.