Resequencing the ACEs in an ACL

This action reconfigures the starting sequence number for ACEs in an ACL, and resets the numeric interval between sequence numbers for ACEs configured in the ACL.

Syntax


ip access-list resequence {<name-str | 1 – 99 | 100 – 199>}

<starting-seq-#> <interval>

Resets the sequence numbers for all ACEs in the ACL.

<starting– seq-#>

Specifies the sequence number for the first ACE in the list. (Default: 10; Range: 1 – 2147483647)

<interval>

Specifies the interval between sequence numbers for the ACEs in the list. (Default: 10; Range: 1 - 2147483647)

Procedure
  1. To view the current sequence numbering in an ACE, use either command: show run show access-list <name-str 1 - 99 100-199>
  2. Use the command syntax (above) to change the sequence numbering.

This example resequences the "My-List" ACL at the bottom of figure so that the list begins with line 100 and uses a sequence interval of 100.
Viewing and resequencing an ACL