Use the ACL Wizard to create a simple ACL
The ACL Wizard can help you to create a simple ACL and apply it to the selected ports. First, select an ACL type to use when you create an ACL. Then add an ACL rule to this ACL and apply this ACL on the selected ports.
To use the ACL Wizard to create a simple ACL:
- Open a web browser and log in to the device UI using your login details and device admin password.
The Dashboard page displays.
- Select Security > ACL > ACL Wizard.
The ACL Wizard page displays
- From the ACL Type menu, select the type of ACL.
You can select from the following ACL types:
- ACL Based on Destination MAC: Creates an ACL based on the destination MAC address, destination MAC mask, and VLAN.
- ACL Based on Source MAC: Creates an ACL based on the source MAC address, source MAC mask, and VLAN.
- ACL Based on Destination IPv4: Creates an ACL based on the destination IPv4 address and IPv4 address mask.
- ACL Based on Source IPv4: Creates an ACL based on the source IPv4 address and IPv4 address mask.
- ACL Based on Destination IPv6: Creates an ACL based on the destination IPv6 prefix and IPv6 prefix length.
- ACL Based on Source IPv6: Creates an ACL based on the source IPv6 prefix and IPv6 prefix length.
- ACL Based on Destination IPv4 L4 Port: Creates an ACL based on the destination IPv4 Layer 4 port number.
- ACL Based on Source IPv4 L4 Port: Creates an ACL based on the source IPv4 Layer 4 port number.
- ACL Based on Destination IPv6 L4 Port: Creates an ACL based on the destination IPv6 Layer 4 port number.
- ACL Based on Source IPv6 L4 Port: Creates an ACL based on the source IPv6 Layer 4 port number.
Note: For L4 port options, two rules are created (one for TCP and one for UDP). - Click the Add New button.
The Add ACL pop-up window display. The name of the window includes the type of ACL that you selected.
- In the Sequence Number field, enter a number in the range from 1 to 2147483647 that is used to identify the rule.
Note: The ACL Wizard automatically assignes a name to the ACL. The name includes the term ACL_Wizard.
- From the Action menu, select the action that must occur if a packet matches the rule’s criteria.
- Permit: The packet is permitted and forwarded.
- Deny: The packet is denied and dropped.
- From the Match Every menu, select if packets must match the ACL and rule:
- False: Packets do not need to match the selected ACL and rule. With this selection, you can add additional criteria for the rule.
- True: All packets must match the selected ACL and rule and are either permitted or denied. With this selection, because all packets must match the rule, you cannot configure other match criteria for the rule.
- If you select False from the Match Every menu, set the additional match criteria for the selected ACL type.
The rule match criteria fields that display in the window depend on the selected ACL type. For information about the possible match criteria fields, see the following table.
ACL Based On
Fields
Destination MAC
- Destination MAC : Type the destination MAC address to compare against an Ethernet frame. The format is xx:xx:xx:xx:xx:xx. The BPDU keyword might be specified using a destination MAC address of 01:80:C2:xx:xx:xx.
- Destination MAC Mask : Type the destination MAC address mask, which represents the bits in the destination MAC address to compare against an Ethernet frame. The format is xx:xx:xx:xx:xx:xx. The BPDU keyword might be specified using a destination MAC mask of 00:00:00:ff:ff:ff.
- VLAN: Type the VLAN ID to match within the Ethernet frame.
Source MAC
- Source MAC : Type the source MAC address to compare against an Ethernet frame. The format is xx:xx:xx:xx:xx:xx.
- Source MAC Mask : Type the source MAC address mask, which represents the bits in the source MAC address to compare against an Ethernet frame. The format is (xx:xx:xx:xx:xx:xx).
- VLAN: Type the VLAN ID to match within the Ethernet frame.
Destination IPv4
- Destination IP Address : Type the destination IP address.
- Destination IP Mask : Type the destination IP address mask.
Source IPv4
- Source IP Address : Type the source IP address.
- Source IP Mask : Type the source IP address mask.
Destination IPv6
- Destination IPv6 Address : Type the destination IPV6 address.
- Destination IPv6 Prefix Length : Type the destination IPv6 prefix length.
Source IPv6
- Source IPv6 Address : Type the source IPV6 address.
- Source IPv6 Prefix Length : Type the souorce IPv6 prefix length.
Destination IPv4 L4 Port
- Destination L4 port (Protocol) : Select the destination IPv4 L4 port protocol, or select Other and manually set the destination IPv4 L4 port value.
- Destination L4 port (Value) : If you select Other, type the destination IPv4 L4 port value.
Source IPv4 L4 Port
- Source L4 port (Protocol) : Select the source IPv4 L4 port protocol, or select Other and manually set the source IPv4 L4 port value.
- Source L4 port (Value) : If you select Other, type the source IPv4 L4 port value.
Destination IPv6 L4 Port
- Destination L4 port (Protocol) : Select the destination IPv6 L4 port protocol, or select Other and manually set the destination IPv6 L4 port value.
- Destination L4 port (Value) : If you select Other, type the destination IPv6 L4 port value.
Source IPv6 L4 Port
- Source L4 port (Protocol) : Select the source IPv6 L4 port protocol, or select Other and manually set the source IPv6 L4 port value.
- Source L4 port (Value) : If you select Other, type the source IPv6 L4 port value.
As an example, the following steps describe how you can create an ACL based on the destination MAC address:- In the Destination MAC field, type the destination MAC address that must be compared against the information in an Ethernet frame.
The format is xx:xx:xx:xx:xx:xx. The BPDU keyword can be specified using a destination MAC address of 01:80:C2:xx:xx:xx.
- In the Destination MAC Mask field, type the destination MAC address mask that must be compared against the information in an Ethernet frame.
The format is xx:xx:xx:xx:xx:xx. The BPDU keyword can be specified using a destination MAC mask of 00:00:00:ff:ff:ff.
- In the VLAN ID field, type the VLAN ID against which the information in an Ethernet frame must be compared.
The range is from 1 to 4093. You can type an individual VLAN ID or a range of VLAN IDs.
- Click the Save button.
The ACL and associated rule are saved and display on the ACL Wizard table.Note: The ACL and associated rule display only while you remain on the page. If you go to another page and then return to the ACL Wizard page, the ACL and associated rule no longer display. To display rules that you created with the ACL Wizard, see Display the existing ACLs and associated rules.
- In the Binding Configuration section, in the Ports and LAG tables, select the ports and LAGs to which the ACL must be bound.
A selected port or LAG displays blue. An excluded port or LAG displays blank.Note: The selection from the Direction menu is always Inbound. You cannot change this selection. An ACL is always applied to incoming traffic only.
- Click the Apply button.
Your settings are saved.