Add a rule for a MAC ACL
You can add a rule for a MAC ACL.
To add a rule for a MAC 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 > Basic > MAC Rules.
- From the ACL Name menu, select the MAC ACL.
- In the Sequence Number field, enter a whole number in the range from 1 to 2147483647 to identify the rule.
- From the Action menu, select the action that must be taken if a packet matches the rule’s criteria:
-
Permit: Forwards packets that meet the ACL criteria.
-
Deny: Drops packets that meet the ACL criteria.
-
- In the Assign Queue ID field, specify the hardware egress queue identifier that must be used to handle all packets matching this ACL rule.
The range for the queue ID is from 0 to 7.
- From the Mirror Interface menu, select the specific egress interface to which the matching traffic stream must be copied, in addition to being forwarded normally by the switch.
This field cannot be set if a redirect interface is already configured for the ACL rule. This field is visible for a Permit action.
- From the Redirect Interface menu, select the egress interface to which the matching traffic stream must be redirected, bypassing any forwarding decision normally performed by the switch.
This field cannot be set if a mirror interface is already configured for the ACL rule.
- From the Match Every menu, select whether each Layer 2 MAC packet must be matched against the rule:
-
True: Each packet must match the selected ACL rule.
-
False: Not all packets need to match the selected ACL rule.
-
- In the CoS field, specify the 802.1p priority that must be compared against the information in an Ethernet frame.
The range for the priority is from 0 to 7.
- 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.
- From the EtherType Key menu, select the EtherType value that must be compared against the information in an Ethernet frame.
The values are as follows:
-
Apple Talk
-
IBM SNA
-
IPv4
-
IPv6
-
IPX
-
MPLS Multicast
-
MPLS Unicast
-
NetBios
-
Novell
-
PPPOE
-
RARP
-
User Value
-
- If you select User Value from the EtherType Key menu, in the EtherType User Value field, specify the customized EtherType value that must be used.
This value must be compared against the information in an Ethernet frame. The range is from 0x0600 to 0xFFFF.
- In the Source MAC field, specify the source MAC address that must be compared against the information in an Ethernet frame.
The format is xx:xx:xx:xx:xx:xx.
- In the Source MAC Mask field, specify the source MAC address mask that must be compared against the information in an Ethernet frame.
The format is xx:xx:xx:xx:xx:xx.
- In the VLAN field, specify the VLAN ID that must be compared against the information in an Ethernet frame.
The range is from 1 to 4093. You can configure either a single VLAN or a VLAN range.
- From the Logging menu, select whether to enable or disable logging.
This option is available if the selection from the Action menu is Deny.
If you select Enable, logging is enabled for this ACL rule (subject to resource availability on the switch).
If the access list trap flag is also enabled, periodic traps are generated, indicating the number of times the rule was evoked during the report interval, which is fixed at five minutes.
- In the Rate Limit Conform Data Rate field, 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.
- In the Rate Limit Burst Size field, 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.
- From the Time Range menu, as an option, select the name of the timer schedule.
For information about timer schedules, see Timer schedules.
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.
- Click the Add button.
The rule is added.
- To save the settings to the running configuration, click the Save icon.