cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
474
Views
0
Helpful
3
Replies

limit access to vlan with mac access-list not working

acleri
Level 1
Level 1

I try to limit the access to my switches using a mac access-list that allow only certain mac to do ARP and assign this filter to a particular vlan.

I setup it as follow:

*************************

mac access-list extended Allowed-mac

permit host 0002.b305.7bab any 0x806 0x0

permit host 001a.4b86.6fad any 0x806 0x0

vlan access-map forward-arp 10

action forward

match mac address CMB-Allowed-mac

vlan access-map forward-arp 20

action drop

vlan filter forward-arp vlan-list 50

************************

Once I apply the filter to the vlan50 ALL clients on this vlan are not able to communicate, so it seems that the permitted host are not allowed.

Any idea where I'm wrong?

THANK YOU

3 Replies 3

acleri
Level 1
Level 1

the correct running configuration is the following:

*************

mac access-list extended Allowed-mac

permit host 0002.b305.7bab any 0x806 0x0

permit host 001a.4b86.6fad any 0x806 0x0

vlan access-map forward-arp 10

action forward

match mac address Allowed-mac

vlan access-map forward-arp 20

action drop

vlan filter forward-arp vlan-list 50

**************************

This post could be not clear, I still have the problem, but the running configuration is not the first I post but the second.

Thank you.

Solved with an access list applied on each port as follow:

**************

mac access-list extended Allowed-mac

permit host 0002.b305.7bab any

permit host 001a.4b86.6fad any

!

!

interface FastEthernet0/1

switchport access vlan 50

switchport mode access

mac access-group Allowed-mac in

spanning-tree portfast

******************

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card