07-09-2020 07:06 PM
Hi,
Thought I would share this problem I recently run into and how I got around it.
When trying to add a port to a VLAN i get the following error:
Other ports are using the same key. Can not change port vlan membership.
When I use the command something like the following:
vlan members 26 2/1-2/2,2/21,2/23-2/24,3/21,3/24,4/23-4/24,5/24,6/23-6/24 portmember
A typical configuration that is use is something like the following. I’m using LACP due to connecting to B/C-Series switch and found the use of LACP preferential to making sure the MLT formed properly
interface mlt 45
lacp enable key 45
interface GigabitEthernet 2/1
lacp key 45 aggregation enable timeout-time short
lacp enable
exit
The command seems to work if I only add one port at a time, which think is what the error is trying to tell me:
vlan members 26 2/1 portmember
Based on this article and the use of Ludovico’s ACLI tool as per this article:
I solve the problem this way:
First created a varible as I want to use a common set of ports:
$mainprts = 2/1-2/2,2/21,2/23-2/24,3/21,3/24,4/23-4/24,5/24,6/23-6/24
Once done I could use the following command that rolls through each port at a time:
vlan members 2 %s portmember &'$mainprts
On executing the command it does the following… Awesome 🙂
V
SP2:1(config)#% vlan members 2 %s portmember &'$mainprts
vars% vlan members 2 %s portmember &'2/1-2/2,2/21,2/23-2/24,3/21,3/24,4/23-4/24,5/24,6/23-6/24
VSP2:1(config)#% vlan members 2 2/1 portmember
VSP2:1(config)#% vlan members 2 2/2 portmember
VSP2:1(config)#% vlan members 2 2/21 portmember
VSP2:1(config)#% vlan members 2 2/23 portmember
VSP2:1(config)#% vlan members 2 2/24 portmember
VSP2:1(config)#% vlan members 2 3/21 portmember
VSP2:1(config)#% vlan members 2 3/24 portmember
VSP2:1(config)#% vlan members 2 4/23 portmember
VSP2:1(config)#% vlan members 2 4/24 portmember
VSP2:1(config)#% vlan members 2 5/24 portmember
VSP2:1(config)#% vlan members 2 6/23 portmember
VSP2:1(config)#% vlan members 2 6/24 portmember
02-11-2022 08:12 AM
07-12-2020 09:21 PM
Hi Miguel,
Thanks for posting.
I’ve made the changes in this case, but next time I come across it I’ll give it a go.
I actually think I hit a requirement where I needed to disable LACP on the MLT to get it to allow me to add more VLAN’s to those ports
Noticed the link I provided didn’t seem to work so adding it here again, as it explains the issue I hit and the limitations around why I think I was hitting it.
My concern is that if I have an active port and I want to add another VLAN to it I don’t have to disable LACP first just to add a VLAN?
Still finding my feet with it a little, so more experience will let it sink in as to the reason why and why it might not matter and ways to configure it.
When using LACP it did seem to throw all sorts of different errors from various different angles when configuring other elements, that didn’t either make sense or something that typically isn’t usually a challenge, but getting their slowly 🙂
Thanks again.
Cheers,
Martin
07-12-2020 08:27 PM
Martin
Did you tried the following?:
vlan members add 26 2/1-2/2,2/21,2/23-2/24,3/21,3/24,4/23-4/24,5/24,6/23-6/24
Mig
07-09-2020 07:16 PM
Just found this article so may have been more to it, but here for reference:
https://getsatisfaction.com/extreme/topics/tagging-vlan-on-lacp-on-vsp8600