policy <POLICY-NAME> resequence

Syntax

policy <POLICY-NAME> resequence <STARTING-SEQUENCE-NUMBER> <INCREMENT>

Description

Resequences numbering in a policy.

Command context

config

Parameters

<POLICY-NAME>

Specifies the policy where you want to resequence policy entries.

<STARTING-SEQUENCE-NUMBER>

Specifies the sequence number to start resequencing from.

<INCREMENT>

Specifies how much to increment the sequence numbers by.

Authority

Administrators

Examples

Resequencing a policy:

switch(config)# policy MY_POLICY resequence 1 1
switch(config)# do show policy
           Name
  Sequence Comment
           Class Type
                    action
-------------------------------------------------------------------------------
           MY_POLICY
         1
           MY_CLASS3 ipv4
                    drop
                    dscp AF21

         2
           MY_CLASS3 ipv4
                    mirror 1