pbr-action-list resequence

Syntax

pbr-action-list <ACTION-LIST-NAME> resequence <STARTING-SEQUENCE-NUMBER> <INCREMENT>

Description

Renumbers the entries in an action list. The list entry with the lowest sequence number has the highest priority entry in the list.

Command context

config

Parameters

<ACTION-LIST-NAME>

Specifies the action list name to have its entries resequenced.

<STARTING-SEQUENCE-NUMBER>

Specifies the starting sequence number. Range: 1-4294967295

<INCREMENT>

Specifies the increment of the resequencing. Range: 1-4294967295

Authority

Administrators

Examples

The following command shows how a PBR action list is resequenced. In the following example, an action list named test4 is resequenced so that instead of its entries starting at 5 and being numbered sequentially, its entries start now at 1 and they are numbered in increments of 10:

switch(config)# show pbr-action-list test4
 
           Name
  Sequence Type                            Address/Interface
------------------------------------------------------------------
           test4
        5  nexthop                         2000.abcd::cccc.dddd
        6  nexthop                         1000.abcd::1234.5678
        7  interface                       null

switch(config)# pbr-action-list test4 resequence 1 10

           Name
  Sequence Type                            Address/Interface
------------------------------------------------------------------
           test4
        1  nexthop                         2000.abcd::cccc.dddd
       11  nexthop                         1000.abcd::1234.5678
       21  interface                       null