06-13-2023 01:36 AM
Hi,
Is there any actual difference between the following commands:
vlan members 1234 1/20
vlan members add 1234 1/20
Leaving out add doesn't seem to result is any other VLANs being removed from the port, or any other ports being removed from the VLAN, so am I right in thinking that 'add' is completely redundant here?
Solved! Go to Solution.
06-13-2023 06:59 AM
You are both right, what Jon_P states is what happens on VOSS CLI; what ed_zubricas states is what happens on ERS stackables CLI.
I personally disliked the ERS CLI behaviour, as I would often forget to include the "add" and would end up wiping away all my VLAN port members!
I prefer the VOSS CLI approach, that will never remove any ports from that VLAN membership, even if "add" is omitted.
On VOSS CLI only the "vlan members remove <vid> <ports>" will remove ports.
06-13-2023 06:59 AM
You are both right, what Jon_P states is what happens on VOSS CLI; what ed_zubricas states is what happens on ERS stackables CLI.
I personally disliked the ERS CLI behaviour, as I would often forget to include the "add" and would end up wiping away all my VLAN port members!
I prefer the VOSS CLI approach, that will never remove any ports from that VLAN membership, even if "add" is omitted.
On VOSS CLI only the "vlan members remove <vid> <ports>" will remove ports.
06-13-2023 05:27 AM
BIG difference!
"Vlan members 1234 1/20" replaces the current members list with 1/20.
If VLAN 1234 were on ANY other ports, vlan 1234 would be removed from those ports.
"Vlan members add 1234 1/20" preserves current port membership while adding 1/20.
06-15-2023 02:18 AM
I posted in the VSP/Fabric engine section - does the behaviour you describe happen on that OS?