Resequencing classes in a policy

You can use the policy command with the resequence option to reconfigure the number at which the first class-action statement starts, and reset the interval used to number other class-actions.

Resequencing class-actions is useful when you want to insert a new class-action between two numbered entries.

Context: Global configuration

Syntax:


policy resequence name seq-number interval
resequence

Resets the sequence numbers for all class-action statements in the policy.

name

Specifies the name of the policy that contains the class-action statements that you want to resequence.

seq-number

Specifies the sequence number of the first class-action-statement in the policy. Default: 10.

interval

Specifies the interval between sequence numbers of class-action statements in the policy to allow additional statements to be inserted. Default: 10.

NOTE:

When resequencing class-action statements in a policy, the default class-action-statement always remains as the last class-action statement.

To view the current class-action numbering in a policy, enter the following command:

show policy feature-name policy-name

Resequencing a policy configuration

The following example shows how to resequence a policy configuration after Viewing its contents. The resequenced policy allows you to add a new class-action statement between entries 100 and 200.