Use the ACL Wizard to create an ACL
The ACL Wizard provides a way to automatically create an ACL based on a type of ACL that you must select and information that you must provide.
To use the ACL Wizard to create an 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 > ACL Wizard.
Note: The steps in this procedure describe creating an ACL based on the destination MAC address. If you select a different ACL type, for example, ACL based on a source IPv4, then what is shown on this page varies, depending on the current step in the rule configuration process. - 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). -
- In the Sequence Number field, enter a whole number in the range from 1 to 2147483647 that is used to identify the rule.
- From the Action menu, select Permit or Deny to specify the action that must be taken if a packet matches the rule’s criteria.
- From the Match Every menu, select one of the following options:
-
False: Packets do not need to match the selected ACL and rule. With this selection, you can add a destination MAC address, destination MAC mask, and VLAN.
-
True: All packets must match the selected ACL and rule and are either permitted or denied. In this case, since all packets match the rule, the option of configuring other match criteria is not offered.
-
- Specify the additional match criteria for the selected ACL type.
The rest of the rule match criteria fields available for configuration 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 : Specify 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 : Specify 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: Specify the VLAN ID to match within the Ethernet frame.
Source MAC
-
Source MAC : Specify the source MAC address to compare against an Ethernet frame. The format is xx:xx:xx:xx:xx:xx.
-
Source MAC Mask : Specify 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: Specify the VLAN ID to match within the Ethernet frame.
Destination IPv4
-
Destination IP Address : Specify the destination IP address.
-
Destination IP Mask : Specify the destination IP address mask.
Source IPv4
-
Source IP Address : Specify the source IP address.
-
Source IP Mask : Specify the source IP address mask.
Destination IPv6
-
Destination Prefix : Specify the destination prefix.
-
Destination Prefix Length : Specify the destination prefix length.
Source IPv6
-
Source Prefix : Specify the source destination prefix.
-
Source Prefix Length : Specify the source prefix length.
Destination IPv4 L4 Port
-
Destination L4 port (protocol) : Specify the destination IPv4 L4 port protocol.
-
Destination L4 port (value) : Specify the destination IPv4 L4 port value.
Source IPv4 L4 Port
-
Source L4 port (protocol) : Specify the source IPv4 L4 port protocol.
-
Source L4 port (value) : Specify the source IPv4 L4 port value.
Destination IPv6 L4 Port
-
Destination L4 port (protocol) : Specify the destination IPv6 L4 port protocol.
-
Destination L4 port (value) : Specify the destination IPv6 L4 port value.
Source IPv6 L4 Port
-
Source L4 port (protocol) : Specify the source IPv6 L4 port protocol.
-
Source L4 port (value) : Specify the source IPv6 L4 port value.
-
- As a sample, the following steps describe how you can create an ACL based on the destination MAC address:
- In the Destination MAC field, specify 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, specify 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, specify which VLAN must be compared against the information in an Ethernet frame.
The range is from 1 to 4093. Either a VLAN range or VLAN can be configured.
- In the Destination MAC field, specify the destination MAC address that must be compared against the information in an Ethernet frame.
- In the Binding Configuration section, from the Direction menu, select the packet filtering direction for the ACL.
-
Inbound: The MAC binding can be applied to incoming traffic only.
-
Outbound: The MAC binding can be applied to outgoing traffic only.
-
- In the Ports and LAG tables in the Binding Configuration section, select the ports and LAGs to which the ACL must be applied.
- Click the Add button.
The rule is added to the ACL.
- Click the Apply button.
Your settings are saved.
- To save the settings to the running configuration, click the Save icon.