Working with MAC-Based ACLs



How do I configure my Access Point or Switch to work with MAC-based Access Control Lists?


  • E and L series switches


MAC based Access Control is one way of controlling entry of certain types of traffic into your network, based on predefined layer-2 rules. MAC Access Control List (ACL) configuration is the process of defining a set of rules that tell the switch how to make decisions about whether to allow or deny entry to (drop) a given packet, based on its MAC address.

The E and L series switches allow you to specify multiple ACLs, with multiple rules (also called Access Control List Entries) within each ACL. Each ACL is identified by its name, and all the individual entries within the same ACL, use the same ACL name. The switches can support up to 3000 total ACL entries with up to 256 entries per ACL.

Configuring MAC ACLs on the E and L series switches is a simple, two step process:

  • Build the global list of MAC ACL entries (once per network)
  • Assign prebuilt MAC ACLs to ports (once per switch port)

Step 1: Build the global list of MAC ACL entries

Navigate to the Datto Managed Networking Configure  → Switches page and click the Show link next to Access Control Lists (ACLs).

Figure 1: Access Control Lists (ACLs)

Look under the section for "MAC based" ACLs 

Figure 2: MAC-Based ACLs

To add a new rule click the Add New button. 

Figure 3: Create MAC ACL Entry

ACL and ACL Name: As mentioned earlier, each ACL can have multiple entries, so when creating a new entry you have the option of either associating it with an existing ACL or creating a new ACL that it will be the very first entry of. Note that ACL names cannot be changed by editing the entries. They must be deleted and recreated with a new name, if the name change is essential.

Sequence: Since ACLs can have multiple entries, the sequence number is used by the switch to determine what order to apply those rules to incoming packets. Note that sequence of an ACL's entry cannot be changed by editing it, after it has been created and saved.

Action: Is used to specify whether the packets (identified by the source and destination MACs next) should be allowed or denied entry.

Source MAC: Source MAC address of the incoming packet. To specify a wildcard, use the '*' symbol as shown above and enter Any in the text field or leave it blank, to apply it to all MAC addresses.

Destination MAC: Destination MAC address of the incoming packet. To specify a wildcard, use the '*' symbol as shown above and enter Any in the text field or leave it blank, to apply it to all MAC addresses. 

Once you have created your MAC ACLs, you are ready to move to the next step, of assigning those rules to specific ports that will then enforce those rules on packets that come into them .

Step 2: Assign MAC ACLs to ports

To assign ACLs to ports, head over to the Manage → Switches page and bring up the specific switch's configuration pane by clicking on its name. Once there, pick the specific port or ports that you want to implement MAC ACL on, then assign the predefined MAC ACL rule to it by selecting it from the drop down list under the MAC ACL column for that specific port (row). Click Save and you're done.

Figure 4: Assigning ports

Was this article helpful?

0 out of 0 found this helpful

You must sign in before voting on this article.

Calling all Partners! We want to hear your feedback! Please participate in this quick survey and help us build a better, more-relevant Knowledge Base!

Want to talk about it? Head on over to our Community Forum!