regenerate-seq-num
IPv4 ACL configuration mode
IPv6 ACL configuration mode
This command is effective for all IPv4 ACL types: named or numbered; standard or extended.
This command is effective for IPv6 ACLs.
After resequencing, you do not need to rebind the ACL.
From FastIron 08.0.61, sequence regeneration settings (first sequence number and sequence interval number) are persistent, even following reload of the active unit.
The following example regenerates sequence numbers for a standard numbered IPv4 ACL.
device# configure terminal device(config)# ip access-list standard 18 device(config-std-ipacl-18)# regenerate-seq-number
The following example regenerates sequence numbers for an extended named IPv4 ACL, specifying that the first rule be numbered 100, with an increment of 15 between each sequence number.
device# configure terminal device(config)# ip access-list extended extACLtest_01 device(config-ext-ipacl-extACLtest_01)# regenerate-seq-number 100 15
The following example regenerates sequence numbers for an IPv6 ACL.
device# configure terminal device(config)# ipv6 access-list ACL6_01 device(config-ipv6-acces-list ACL6_01)# regenerate-seq-number
The following example demonstrates that non-default sequence regeneration is persistent following reload of the active unit.
device# configure terminal device(config)# ip access-list extended testACL device(config-ext-ipacl-testACL)# permit ip host 1.1.1.111 host 2.2.2.111 device(config-ext-ipacl-testACL)# permit ospf any any device(config-ext-ipacl-testACL)# permit pim any any device(config-ext-ipacl-testACL)# show ip access-lists testACL Extended IP access list testACL: 3 entries 10: permit ip host 1.1.1.111 host 2.2.2.111 20: permit ospf any any 30: permit pim any any device(config-ext-ipacl-testACL)# regenerate-seq-number 100 100 device(config-ext-ipacl-testACL)# show ip access-lists testACL Extended IP access list testACL: 3 entries 100: permit ip host 1.1.1.111 host 2.2.2.111 200: permit ospf any any 300: permit pim any any device(config-ext-ipacl-testACL)# sequence 150 deny ip 20.20.20.96 0.0.0.15 any device(config-ext-ipacl-testACL)# show ip access-lists testACL Extended IP access list testACL: 4 entries 100: permit ip host 1.1.1.111 host 2.2.2.111 150: deny ip 20.20.20.96 0.0.0.15 any 200: permit ospf any any 300 permit pim any any <Reload of active unit> device(config-ext-ipacl-testACL)# show ip access-lists testACL Extended IP access list testACL: 4 entries 100: permit ip host 1.1.1.111 host 2.2.2.111 150: deny ip 20.20.20.96 0.0.0.15 any 200: permit ospf any any 300 permit pim any any
| Release version | Command history |
|---|---|
| 08.0.50 | This command was introduced. |
| 08.0.61 | The command has been modified so that a non-default run of the command is persistent following device reload. |