10-19-2015 12:12 PM - edited 03-08-2019 02:16 AM
I created an extended access list and allowed a single mac address in a conference room, so only the VoIP phone will have access with a deny any any at the end. It did not work, so I removed all permits from the list and just have a single deny any any in the access list, and have it applied to the interface on the 6509 that is in the conference room. Still, all traffic is flowing with no disruption.
mac access-list extended phone
deny any any
interface GigabitEthernet2/14
switchport
switchport access vlan 63
switchport mode access
switchport voice vlan 73
mac access-group phone in
end
I can see both the phone and the PC with:
sh mac add | inc 2/14
I can ping both the phone and the PC. How can I stop communication on a port using a mac access-list?
Solved! Go to Solution.
10-19-2015 12:42 PM
With 12.2SX mac address acls do not apply to IP traffic ie. they only work for non IP traffic.
And mac address acls can only be named acls which is why your other acl didn't work.
So you need to use an IP acl.
See this link for details -
Jon
10-19-2015 12:18 PM
What version of software are you running on your 6500 ?
Jon
10-19-2015 12:22 PM
s3223-ipbase-mz.122-33.SXJ2.bin
10-19-2015 12:42 PM
With 12.2SX mac address acls do not apply to IP traffic ie. they only work for non IP traffic.
And mac address acls can only be named acls which is why your other acl didn't work.
So you need to use an IP acl.
See this link for details -
Jon
10-19-2015 12:30 PM
I also just tried creating access list 701
access-list 701 deny 0000.0000.0000 ffff.ffff.ffff
but when I attempt to apply it to the interface, I get:
mac access-group 701 in
% Invalid access list name.
Not sure if this is a clue as to what is wrong.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide