Classifier-Based Software Configuration
Traffic Classes
8-32
To modify the class-action statements in a policy, enter the policy-config-
■
uration context with the policy <feature-name > <policy-name > command.
(To display a policy configuration, enter the show policy < feature-name >
< policy-name > command as shown in Figure 8-11.) Then do one of the
following:
•
You can enter a new class-action statement. If you do not enter a
sequence number, the new class-action statement is inserted at the
end of the policy configuration.
•
To remove a class-action statement from a policy configuration, enter
the no <sequence-number > command or the complete form of the no
class ... action command.
•
To resequence the order in which class-action statements are listed,
enter the resequence command (see "Resequencing Classes in a Pol-
icy" on page 8-33).
•
To replace an existing class-action statement, enter the no <sequence-
number > command to delete the entry, and re-enter a complete class
< ipv4 | ipv6 > < classname > action < action-name > or default-class action
< action-name > command.
When you exit the policy-configuration context, the changes are automat-
ically saved and applied to the policy configuration if the policy has not
been applied to an interface. If the policy has already been applied to an
interface, the editing changes are not accepted and an error message is
displayed.