05-30-2014 03:10 AM
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!
05-30-2014 08:13 AM
Hi Dirk, I think before assigning the mac-group, first assign the port as the desired VLAN. I also think the acceptable-frame-type may be unnecessary.
05-30-2014 10:08 AM
Paul,
whenever I try to add vlan 1, I get the following error:
switch0146(config-if)#switchport general allowed vlan add 1 VLAN 1 : VLAN was not created by user.
The order shown in my original posting is the order given by show running-config interface ge1. Reordering my commands does not change the result.
06-05-2014 02:54 PM
Any ideas? Or is this not possible with a SG300 switch?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: