cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1020
Views
0
Helpful
3
Replies

Access to VLAN based on MAC address

Dirk Dittert
Level 1
Level 1

Hi,

I'd like to assign ports as untagged members of VLAN 2. But there are some machines that should be untagged members of the default VLAN 1. This is based on their MAC address.

But this doesn't seem to do the trick:

interface gigabitethernet1
 switchport general map macs-group 1 vlan 1
 switchport general acceptable-frame-type untagged-only
 switchport general pvid 2
 switchport mode general
!

I don't seem to be allowed to issue switchport general allowed vlan add 1 untagged. Where is my mistake and how can I achieve the desired behavior?

Thanks!