pbr-action-list resequence

Syntax

pbr-action-listresequence

描述

重编号的条目action list. The list entry with the lowest sequence number has the highest priority entry in the list.

Command context

config

Parameters

Specifies the action list name to have its entries resequenced.

Specifies the starting sequence number. Range: 1-4294967295

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

权威

Administrators or local user group members with execution rights for this command.

Examples

The following command shows how a PBR action list is resequenced. In the following example, an action list namedtest4is 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 test4Name 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 10Name Sequence Type Address/Interface ------------------------------------------------------------------ test4 1 nexthop 2000.abcd::cccc.dddd 11 nexthop 1000.abcd::1234.5678 21 interface null