cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1648
Views
5
Helpful
7
Replies

Catalyst 2960-X Series MAC address filtering

erdene
Level 1
Level 1

I have a ISR4331 as a gateway router and DHCP server. It doesn't have LAN switching module. Instead I'm using my Catalyst 2960-X Series managed swtich to filter MAC addresses. I'm tying to reject all other MAC addresses but permit list of MAC addresses.

Creating mac acl with "#mac access-list extended aclname". Then "permit mac any" command returns error.

Any suggestions? Thank you.

7 Replies 7

router not support mac acl, only SW support it 
sorry you use SW not ISR4331 for MAC filter, 
NOW 
the SW accept mac access-list named 
after that you add permit mac any SW refuse it ?
can you try 
permit ? <<- let see what option SW give us

H.H.H 48-bit source MAC address
any any source MAC address
host A single source host

Returns these.

After tinkering with the command order it accepted command 'permit host mac any' command. But I'm stuck at applying my acl to an interface or vlan. All commands I tried returns unknown command.

 

that good 
NOW 
mac ACL apply to L2 port 
or use with vlan access-map 
if you use mac acl apply to l2 port then you can use permit host mac ....
if you use mac acl with vlan access-map then you need to permit arp from specific mac and deny arp any any, but why?
the mac acl can not packet (with IP header) it filter frame (with mac + IP header )

What if I want to bind specific mac addresses to static ip addresses?

erdene
Level 1
Level 1

@MHM Cisco World  thank you for your help. I learned alot and I completed most of the configuration on my network. Which setup like following. ISR4331 is a gateway router connected to WAN with gig/0/0 port and gig/0/1 port is connected to the catalyst switch. My network uses multiple different networks. In my old setting my old router had switching, so I created multiple vlans on it. With ISR4331 having no eth switching module how do I connect different networks?

you need L2SW and in ISR4331 you need to config subinterface for each vlan in L2SW