Add a rule for a basic IPv4 ACL
You can add a rule for a basic IPv4 ACL.
To add a rule for a basic 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 Rules.
If no rules exists, the Basic ACL Rule Table shows the message No rules have been configured for this ACL. If one or more rule exists for the ACL, the rules display in the Basic ACL Rule Table.
- From the ACL ID menu, select the IP ACL for which you want to add or a change a rule.
For basic IP ACLs, this must be an ID in the range from 1 to 99.
- Click the Add button.
- Specify the following match criteria for the rule:
-
Sequence Number: Enter an ACL sequence number in the range from 1 to 2147483647 that is used to identify the rule. An IP ACL can contain up to 50 rules.
-
Action: Select the ACL forwarding action, which is one of the following:
-
Permit: Forward packets that meet the ACL criteria.
Egress Queue: If the selection from the Action menu is Permit, you can specify the hardware egress queue identifier that is used to handle all packets matching this IP ACL rule. The range of queue IDs is from 0 to 7.
-
Deny: Drop packets that meet the ACL criteria.
Logging: If the selection from the Action menu is Deny, you can enable logging for the ACL by selecting the Enable radio button. (Logging is subject to resource availability on the switch.)
-
-
Match Every: Select one of the radio buttons to specify whether all packets must match the selected IP ACL rule:
-
Enable: All packets must match the selected IP ACL rule and are either permitted or denied.
-
Disable: Not all packets need to match the selected IP ACL rule.
-
-
Mirror Interface: From the menu, select the egress interface to which the matching traffic stream must be copied, in addition to being forwarded normally by the switch.
You can either select a mirror interface or a redirect interface. These options are mutually exclusive.
-
Redirect Interface: From the menu, select the egress interface to which the matching traffic stream must be redirected, bypassing any forwarding decision normally performed by the switch.
You can either select a redirect interface or a mirror interface. These options are mutually exclusive.
-
Src IP Address: Specify an IP address using dotted-decimal notation to be compared to a packet’s source IP address as a match criterion for the selected IP ACL rule.
-
Src IP Mask: Specify the IP mask in dotted-decimal notation to be used with the source IP address.
-
Rate Limit Conform Data Rate: Specify the value of the conforming data rate, which is the data rate at which confirming traffic is limited. The range is from 1 to 4294967295 Kbps.
-
Rate Limit Burst Size: Specify the value of the burst size, which is the size at which bursts of traffic above the confirming data rate are permitted. The range is from 1 to 128 Kbps.
-
Time Range: From the Time Range menu, select the timer schedule that must be associated with the rule. For more information about timer schedules, see Timer schedules. If you did not set up any timer schedules, the menu does not present any options.
-
- Click the Apply button.
Your settings are saved.
The Rule Status field in the table shows if the rule is active or inactive. Blank means that no timer schedule is associated with the rule.
- To save the settings to the running configuration, click the Save icon.