Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

configuring mac access-list on a router-1800

Hi,

I would like to know how to block certain PCs from the network using the mac address.Any help please?

Dom

2 REPLIES
Cisco Employee

Re: configuring mac access-list on a router-1800

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

New Member

Re: configuring mac access-list on a router-1800

Many thanks Martin

Regards,

982
Views
3
Helpful
2
Replies
CreatePlease login to create content