Active class configuration versus user-specified configuration

The output of theshow classcommand displays the active class configurations. Active class configurations are the classes that have been configured and accepted by the system.

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

Discrepancies might occur between the active class configurations and the user-specified configurations. In the user-specified class configurations, unsupported command parameters may have been configured, or class can be modified after policy application and may have been unsuccessful due to lack of hardware resources.

确定如果之间存在差异was configured and what is active, run any variant of theshow classcommand. If the active classes and configured classes are not the same, a warning message is displayed.

! class MY_CLASS user configuration does not match active configuration. ! run 'class TYPE NAME reset' to reset class to match active configuration.

If the configured class is processing and you entered theshow classcommand with parameters, the following in-progress message is displayed:

! class ip MY_CLASS user configuration currently being processed ! run 'class TYPE NAME reset' to reset class to match active configuration.

If the configured class is processing and you entered theshow classcommand without parameters, the following in-progress message is displayed:

% Warning: MY_CLASS user configuration currently being processed % run 'class TYPE NAME reset' to reset class 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 theclass {all|ip|ipv6|mac} resetcommand to change the user-specified configuration to match the active configuration.

NOTE:

Theshow running-configcommand also shows a warning about classes that are in progress or failed.

Example

Resetting the user-specified class configuration to the active configuration:

switch(config)#class all reset