Deleting an ACL

Delete an ACL to remove an ordered list of filter rules.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Delete an ACL:

    no filter acl <acl-id>

    The system displays the following message:

    WARNING: All ACE entries under this ACL will be Deleted.
    Do you wish to delete this ACL? (y/n)?
    
  3. Enter y.

Variable definitions

Use the data in the following table to use filter acl command.

Variable

Value

<acl-id>

Specifies the ACL ID. Use the CLI Help to see the available range for the switch.

enable

Enables the ACL state, and all associated ACEs. Enabled is the default state.

matchType <both|terminatingNNIOnly|uniOnly>

For inVsn ACL types, specifies the match type to associate with the ACL. Valid options are:
  • both for traffic ingressing on both UNI ports and NNI ports terminating on this node

  • terminatingNNIOnly for traffic ingressing on NNI ports only and terminating on this node

  • uniOnly for traffic ingressing on UNI ports only

The default value is both.

name WORD<0-32>

Specifies an optional descriptive name for the ACL.

type <inVlan|inPort|outPort|inVsn>

Specifies the ACL type. The values inVlan, inPort, and inVsn are ingress ACLs, and outPort is an egress ACL.

A port-based ACL has precedence over a VLAN-based ACL.