Reordering the sequence numbers in a Layer 3 ACL

Reordering ACL-rule sequence numbers is helpful if you need to insert new rules into an ACL in which there are not enough available sequence numbers.

Note

Note

Although you can use this procedure for IPv4 or IPv6 ACLs, the example is for IPv4.
Note the following regarding sequence numbers and their reordering parameters:
  • The default initial sequence number is 10 and the default increment is 10.
  • For reordering the sequence numbers, you need to specify the following:
    • The new starting sequence number
    • The increment between sequence numbers

The first rule receives the number of the starting sequence number that you specify. Each subsequent rule receives a number larger than the preceding rule. The difference in numbers is determined by the increment number that you specify. The starting-sequence number can range from 1 through 65535; the increment can also range from 1 through 65534.

For example: In the command below, for the IPv4 ACL "a1", the resequence access-list command assigns a sequence number of 5 to the first rule, 10 to the second rule, 15 to the third rule, and so forth.

device# resequence access-list ip a1 5 5