Add an IPv4 ACL
You can add an IPv4 ACL, after which you can add a rule for the IPv4 ACL (see Add a rule for a basic IPv4 ACL or Add a rule for an extended IPv4 ACL).
To add an IPv4 ACL:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select Security > ACL > Advanced > IP ACL.
The IP ACL page displays.
The IP ACL page shows the current size of the ACL table compared to the maximum size of the ACL table. The current size is equal to the number of configured IPv4 ACLs plus the number of configured MAC ACLs and IPv6 ACLs. The maximum number of ACLs on the switch is 100.
The Current Number of ACL field displays the current number of all ACLs configured on the switch.
The Maximum ACL field displays the maximum number of ACLs that you can configure on the switch.
- In the IP ACL ID field, specify the ACL ID or IP ACL name, which depends on the IP ACL type. The IP ACL ID is an integer in the following range:
-
1–99: Creates a basic IP ACL, which allows you to permit or deny traffic from a source IP address.
-
100–199: Creates an extended IP 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 standard IP ACL.
-
IP ACL Name: Creates an extended IP ACL with a name string that is up to 31 alphanumeric characters in length. The name must start with an alphabetic character.
Each configured ACL displays the following information:- Rules: The number of rules currently configured for the IPv4 ACL.
- Type: Identifies the ACL as a basic IP ACL (with ID from 1 to 99), extended IP ACL (with ID from 100 to 199), or named ACL (which is also an extended ACL).
-
- Click the Add button.
The IP ACL is added.
- To save the settings to the running configuration, click the Save icon.