MAC address filtering for a rang of MAC addresses

Unanswered Question
Dec 31st, 2008
User Badges:

I would like to Filter a MAC address range so only PC's from one manufacturer are allowed on a particular vlan (IBM) for instance. Is there a way to filter by MAC address range?


I am using the following switches

WS-C3750G-48PS-S

WS-C3750-48PS-S

with this IOS:c3750-ipservicesk9-mz.122-25.SEE4.bin


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Sounds like you need a VLAN Filter applied - you'll have to know the MACs of all the machines that you want to permit, or they will all need to be in a nice neat contiguous range, but this should get you started:


mac access-list extended IBM_MACS

permit host a001.b001.c001 any

permit host d002.e002.f002 any

!

vlan access-map PERMIT_IBM 10

action forward

match mac address IBM_MACS

vlan access-map PERMIT_IBM 20

action drop

!

vlan filter PERMIT_IBM vlan-list 1, 3-5, 8


HTH,

Aaron

Actions

This Discussion