Active policy configuration versus user-specified configuration

The output of theshow policycommand displays the active policy configurations. Active policy configurations are the policies that have been configured and accepted by the system. With applied policies, the active configuration displays the interfaces on which the policies have successfully been programmed in hardware.

The output of theshow policycommand with theconfigurationparameter, displays the policies that have been configured by the user.

Discrepancies might exist between the active policy configurations and the user-specified configurations. In the user-specified policy configurations, unsupported command parameters might have been configured, or an application of a policy might have been unsuccessful because of a lack of hardware resources.

To determine if a discrepancy exists between the configuration and what is active, run any variant of theshow policy命令。如果配置的积极政策和波尔icies are not the same, a warning message is displayed in the output of theshow命令。

! policy MY_POLICY user configuration does not match active configuration. ! run 'policy NAME reset' to reset policy to match active configuration.

The switch displays anin progressmessage while it processes the configured policy:

! policy MY_POLICY user configuration currently being processed ! run 'policy NAME reset' to reset policy to match active configuration.

If the warning message or in progress message is displayed, additional changes may be made until the error message is no longer displayed. Or you can use thepolicyresetcommand to change the user-specified configuration to match the active configuration.

Example

ResettingMY_POLICY:

switch(config)#policy MY_POLICY reset