An ACL rule or range of rules can be deleted using the delete command.
The following example displays an extended ACL 120 and deletes and deletes entries 2 and 3:
System(rw-config)->ip access-list extended 120 System(rw-cfg-ext-acl)->show access-lists 120 Extended IP access list 120 (5 entries) 1 deny ip 20.0.0.1 0.0.255.255 any 2 deny ip 30.0.0.1 0.0.255.255 any 3 deny ip 40.0.0.1 0.0.255.255 any 4 permit ip any any -- implicit deny all -- System(rw-cfg-ext-acl)->delete from 2 to 3 System(rw-cfg-ext-acl)->show access-lists 120 Extended IP access list 120 (3 entries) 1 deny ip 20.0.0.1 0.0.255.255 any 2 permit ip any any -- implicit deny all --
The following example enters configuration mode for standard IPv6 access list acl2 and deletes rule entry 10 - 12:
System(rw-config)->ipv6 access-list standard acl2 System(rw-cfg-ipv6-std-acl)->delete from 10 to 12 System(rw-cfg-ipv6-std-acl)->