Command Reference Guide
MAC Access Control List Commands
CLI Command Reference
September 2014 Page 657
HP Moonshot Switch Module CLI Command Reference
MAC Access Control List Commands
This section describes the commands you use to configure MAC Access Control List (ACL) settings. MAC ACLs
ensure that only authorized users have access to specific resources and block any unwarranted attempts to
reach network resources.
The following rules apply to MAC ACLs:
• The maximum number of ACLs you can create is 100. The limit applies to all ACLs, regardless of type.
• The system supports only Ethernet II frame types.
• The maximum number of rules per MAC ACL is hardware dependent.
mac access-list extended
This command creates a MAC Access Control List (ACL) identified by name, consisting of classification fields
defined for the Layer 2 header of an Ethernet frame. The
name parameter is a case-sensitive alphanumeric string
from 1 to 31 characters uniquely identifying the MAC access list. The rate-limit attribute configures the
committed rate and the committed burst size.
If a MAC ACL by this name already exists, this command enters Mac-Access-List config mode to allow updating
the existing MAC ACL.
no mac access-list extended
This command deletes a MAC ACL identified by name from the system.
Note: The CLI mode changes to Mac-Access-List Config mode when you successfully execute this
command.
Format
mac access-list extended name
Mode Global Config
Format
no mac access-list extended name
Mode Global Config