12-11-2007 06:26 AM - edited 03-03-2019 07:53 PM
Hi,
I would like to know how to block certain PCs from the network using the mac address.Any help please?
Dom
12-11-2007 07:24 AM
Hi,
You can use a qos policy to achieve this on a router:
class-map match-any NoAccess
match source-address mac 0011.2233.4455
match source-address mac 0123.4567.89AB
policy-map DropBadPC
class NoAccess
drop
interface FastEthernet0/0
service-policy input DropBadPC
In case the switch allows for it, you could also setup a MAC access-list on a switch to block unwanted traffic. You also could setup private VLANs on the switch, which would allow you to define which ports can communicate with which other ports finally blocking router access for some PCs.
Hope this helps! Please rate all posts.
Regards, Martin
12-11-2007 09:29 AM
Many thanks Martin
Regards,
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