Configure a basic or extended IPv4 ACL

An IPv4 ACL consists of a set of rules that are matched sequentially against a packet. When a packet meets the match criteria of a rule, the specified rule action (Permit or Deny) is taken, and the additional rules are not checked for a match. You must specify the interfaces to which an IPv4 ACL applies, as well as whether it applies to inbound or outbound traffic.

Multiple steps are involved in defining an IPv4 ACL and applying it to the switch:

  1. Add an IPv4 ACL ID (see Add an IPv4 ACL).

    The differences between a basic IPv4 ACL and an extended IPv4 ACL are as follows:

    • Numbered ACL from 1 to 99: Creates a basic IPv4 ACL, which allows you to permit or deny traffic from a source IP address.

    • Numbered ACL from 100 to 199: Creates an extended IPv4 ACL, which allows you to permit or deny specific types of Layer 3 or Layer 4 traffic from a source IP address to a destination IP address. This type of ACL provides more granularity and filtering capabilities than the basic IP ACL.

    • Named IP ACL: Creates an extended IPv4 ACL with a name string that is up to 31 alphanumeric characters in length. The name must start with an alphabetic character.

  2. Create an IPv4 rule (see Configure rules for a basic IP ACL or Configure rules for an extended IPv4 ACL).
  3. Associate the IPv4 ACL with one or more interfaces (see Configure IP ACL interface bindings).

    You can display or delete IPv4 ACL configurations in the IP ACL Binding table (see Display or delete IP ACL bindings in the IP ACL binding table.