Command Reference Guide
MAC Access Control List Commands
CLI Command Reference
September 2014 Page 658
HP Moonshot Switch Module CLI Command Reference
mac access-list extended rename
This command changes the name of a MAC Access Control List (ACL). The name parameter is the name of an
existing MAC ACL. The
newname parameter is a case-sensitive alphanumeric string from 1 to 31 characters
uniquely identifying the MAC access list.
This command fails if a MAC ACL by the name
newname already exists.
{deny | permit} (MAC ACL)
This command creates a new rule for the current MAC access list. Each rule is appended to the list of configured
rules for the list. A rule may either deny or permit traffic according to the specified classification fields. At a
minimum, the source and destination MAC value must be specified, each of which may be substituted using
the keyword any to indicate a match on any value in that field. The remaining command parameters are all
optional, but the most frequently used parameters appear in the same relative order as shown in the command
format.
The Ethertype may be specified as either a keyword or a four-digit hexadecimal value from 0x0600-0xFFFF. The
currently supported
ethertypekey values are: appletalk, arp, ibmsna, ipv4, ipv6, ipx, mplsmcast, mplsucast,
netbios, novell, pppoe, rarp. Each of these translates into its equivalent Ethertype value(s).
Format
mac access-list extended rename name newname
Mode Global Config
Format
{deny|permit} {srcmac | any} {dstmac | any} [ethertypekey | 0x0600-0xFFFF] [vlan {eq
0-4093}] [cos 0-7] [[log] [time-range time-range-name] [assign-queue queue-id]]
[{mirror | redirect} unit/slot/port][rate-limit rate burst-size]
Mode Mac-Access-List Config
Note: The no form of this command is not supported, since the rules within a MAC ACL cannot be
deleted individually. Rather, the entire MAC ACL must be deleted and re-specified.
Note: An implicit deny all MAC rule always terminates the access list.
Table 13: Ethertype Keyword and 4-digit Hexadecimal Value
Ethertype Keyword Corresponding Value
appletalk 0x809B
arp 0x0806
ibmsna 0x80D5
ipv4 0x0800
ipv6 0x86DD