Deleting an ACL

Syntax:


no ip access-list standard <name-str|1-99>

no ip access-list extended <name-str|100-199>

no access-list <1-99|100-199>

Removes the specified ACL from the switch running-config file.

NOTE:

If an ACL name is assigned to an interface before the ACL itself has actually been created, then the switch creates an "empty" version of the ACL in the running configuration and assigns the empty ACL to the interface. Subsequently populating the empty ACL with explicit ACEs causes the switch to automatically activate the ACEs as they are created and to implement the implicit deny at the end of the ACL.

Deleting an ACL from the running configuration while the ACL is currently assigned on an interface results in an "empty" version of the ACL in the running configuration and on the interface. Subsequently removing the ACL from the interface also removes the empty ACL from the running configuration.

If you need to remove an ACL identifier assignment on an interface, see Adding or removing an ACL assignment on an interface