MAC Access Control List (ACL) Commands 247
5 Quality of Service (QoS) Commands
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.
Format
mac access-list extended rename <name> <newname>
Mode Global Config
{deny | permit}
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.
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.
NOTE: For assign-queue, attributes are configurable for a deny rule, but they have no
operational effect.
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, ipx, mplsmcast, mplsucast, netbios, novell, pppoe, rarp. Each of these translates into its
equivalent Ethertype value(s).
Table 9. Ethertype Keyword and 4-digit Hexadecimal Value
Ethertype Keyword Corresponding Value
appletalk 0x809B
arp 0x0806
ibmsna 0x80D5
ipv4 0x0800
ipx 0x8037
mplsmcast 0x8848
mplsucast 0x8847
netbios 0x8191
novell 0x8137, 0x8138
pppoe 0x8863, 0x8864
rarp 0x8035