move before

Use this command to move a pre-existing L2 ACL 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, L2 ACL configuration mode.

Examples

This example enters configuration mode for L2 ACL list2 and moves rule entry 20 before rule entry 10:

System(rw-config)->l2 access-list list2
System(rw-cfg-l2-acl)->move before 10 from 20 to 20
System(rw-cfg-l2-acl)->

This example enters configuration mode for L2 ACL list2 and moves rule entries 10 - 12 before rule entry 5:

System(rw-config)->l2 access-list list2
System(rw-cfg-l2-acl)->move before 5 from 10 to 12
System(rw-cfg-l2-acl)->