09-12-2006 05:23 AM - edited 03-05-2019 12:02 PM
Hi,
I have a 2960 with LAN Base image. It seems that it allows all the mac-address apart from that provided in the Mac ACL.
My idea is to allow only the mac-address applied in the ACL. I have other 2950 switches which are working fine with this type of ACLs.
Any solns if anybody has..
Regards,
09-12-2006 05:43 AM
Hi,
Even though the command syntax is the same on the Catalyst 2960 switch and on the Catalyst 2950 switch, the semantics of the IP and the MAC ACL between the two platforms differ. For example, you can apply MAC ACLs for IP packets on the Catalyst 2950 switch, but on the Catalyst 2960 switch:
?You cannot apply MAC ACLs to IP packets.
?You cannot apply any ACLs for IPv6 frames.
?With MAC ACLs, an Ethertype of Appletalk is not supported.
There might be some config problem can u post ur configuration
and also can u tell me ur IOS type
Thanks
Raj
09-12-2006 08:58 PM
Hi,
The IOS I am using is c2960-lanbase-mz.122-25.FX.bin
mac access-list extended Infy6
permit host 0014.2233.cb70 any
permit host 0003.6b8b.0e37 any
permit host 0008.0d7b.7bf2 any
permit host 0008.0d57.7df2 any
interface FastEthernet0/42
switchport access vlan 84
switchport mode access
dot1x port-control auto
mac access-group Infy6 in
spanning-tree portfast
end
Any mac-address connected to this port is able to connect to the network.
Regards
Sagar
09-12-2006 10:08 PM
Hi,
your command
mac access-list extended Infy6
permit host 0014.2233.cb70 any
Will block communication with this MAC TO ANY.
Try to use the deny command instead of permit and at the end use the command
permit any any
for ur example it would be
mac access-list extended Infy6
deny 0014.2233.cb70 any
deny 0003.6b8b.0e37 any
deny 0008.0d7b.7bf2 any
deny 0008.0d57.7df2 any
permit any any
HTH ,
Please tell me if it works.
Thanks
Raj
09-15-2006 05:56 AM
Sagar,
What kind of traffic do you try to block?
Note the following passage in the Command reference:
On Layer 2 interfaces, you can filter IP traffic by using IP access lists and non-IP traffic by using MAC access lists. You can filter both IP and non-IP traffic on the same Layer 2 interface by applying both an IP ACL and a MAC ACL to the interface.
Hope this helps, Chris.
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