move before

Use this command to move a pre-existing access list rule entry or range to the specified location in the access list.

Syntax

move before entry1 from entry2 to entry3

Parameters

entry1 Specifies a pre-existing access list entry before which entry range entry2 to entry3 will be moved.
entry2 Specifies a pre-existing access list entry that begins the range of entries that will be moved before entry1.
entry3 Specifies a pre-existing access list entry that ends the range of entries that will be moved before entry1.

Defaults

None.

Mode

Configuration command, standard or extended access list configuration.

Examples

This example enters configuration mode for standard access list 2 and moves rule entry 20 before rule entry 10:

System(rw-config)->ip access-list standard 2
System(rw-cfg-std-acl)->move before 10 from 20 to 20
System(rw-cfg-std-acl)->

This example enters configuration mode for standard access list 2 and moves rule entries 10 - 12 before rule entry 5:

System(rw-config)->ip access-list standard 2
System(rw-cfg-std-acl)->move before 5 from 10 to 12
System(rw-cfg-std-acl)->