Related Topics
IPv4 ACL Interface Considerations, on page 119
Restrictions for Configuring Network Security with ACLs, on page 105
Creating Named MAC Extended ACLs
You can filter non-IPv4 traffic on a VLAN or on a Layer 2 interface by using MAC addresses and named
MAC extended ACLs. The procedure is similar to that of configuring other extended named ACLs.
Beginning in privileged EXEC mode, follow these steps to create a named MAC extended ACL:
SUMMARY STEPS
1.
configure terminal
2.
mac access-list extended name
3.
{
deny
|
permit
} {
any
|
host source MAC address
|
source MAC address mask
} {
any
|
host destination
MAC address
|
destination MAC address mask
} [
type mask
|
lsap lsap mask
|
aarp
|
amber
|
dec-spanning
|
decnet-iv
|
diagnostic
|
dsm
|
etype-6000
|
etype-8042
|
lat
|
lavc-sca
|
mop-console
|
mop-dump
|
msdos
|
mumps
|
netbios
|
vines-echo
|
vines-ip
|
xns-idp
| 0
-65535
] [
cos cos
]
4.
end
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Defines an extended MAC access list using a name.
mac access-list extended name
Example:
Switch(config)#
mac access-list extended
Step 2
mac1
In extended MAC access-list configuration mode, specifies to
permit
or
deny
any source MAC address, a source MAC address with a
{
deny
|
permit
} {
any
|
host source MAC address
|
source MAC address mask
} {
any
|
host destination
Step 3
mask, or a specific
host
source MAC address and
any
destination
MAC address
|
destination MAC address mask
} [
type
mask
|
lsap lsap mask
|
aarp
|
amber
|
dec-spanning
MAC address, destination MAC address with a mask, or a specific
destination MAC address.
|
decnet-iv
|
diagnostic
|
dsm
|
etype-6000
|
etype-8042
|
lat
|
lavc-sca
|
mop-console
|
(Optional) You can also enter these options:
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
132
OL-29434-01
Configuring IPv4 ACLs
Creating Named MAC Extended ACLs