delete

Use this command to delete a pre-existing L2 ACL rule entry or range of entries.

Syntax

delete {entry | from entry to entry}

Parameters

entry | from entry to entry (Optional) Specifies an entry or range of entries to delete. When deleting a range of entries, from specifies the beginning of the range, and to specifies the end of the range inclusive. An entry is a valid pre-existing L2 ACL rule from 1 to 5000.

Defaults

None.

Mode

Configuration command, L2 ACL configuration mode.

Examples

This example enters configuration mode for the L2 ACL list2 and deletes rule entry 10:

System(rw-config)->l2 access-list list2
System(rw-cfg-l2-acl)->delete 10
System(rw-cfg-l2-acl)->

This example enters configuration mode for the L2 ACL list2 and deletes rule entry 10 - 12:

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