Deleting an ACE from an existing ACL

This action uses ACL sequence numbers to delete ACEs from an ACL.

Syntax


ip access-list extended {standard | extended} {name-str | 100-199}

no <seq-#>

The first command enters the "Named-ACL" context for the specified ACL. The no command deletes the ACE corresponding to the sequence number entered.

Range: 1 - 2147483647

Procedure
  1. To find the sequence number of the ACE you want to delete, use show run or show access-list {1-99 | 100-199} to view the ACL.
  2. Use ip access-list to enter the "Named-ACL" (nacl) context of the ACE. This applies regardless of whether the ACE was originally created as a numbered ACL or a named ACL.
  3. In the "Named-ACL" context, type no and enter the sequence number of the ACE you want to delete.

Deleting an ACE from any ACL