Active class configuration versus user-specified configuration

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

The output of the show class command with the configuration parameter, 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.

To determine if a discrepancy exists between what was configured and what is active, run any variant of the show class command. 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 the show class command 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 the show class command 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 the class {all|ip <class-name>|ipv6 <class-name>|mac <class-name>} reset command to change the user-specified configuration to match the active configuration.

NOTE:

The show running-config command 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