cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1216
Views
3
Helpful
2
Replies

configuring mac access-list on a router-1800

penbee
Level 1
Level 1

Hi,

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

Dom

2 Replies 2

mheusing
Cisco Employee
Cisco Employee

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

Many thanks Martin

Regards,

Review Cisco Networking products for a $25 gift card