set interface aggregate-ethernet family ethernet-switching vlan members


This command is to add a vlan member to the trunk lag, vlan members range from 1 to 4094. The default of this command is that packets are tagged when the packets go out from this interface.

Note: If this interface's native-vlan-id is identical to vlan-member, packets will be encapsulated with vlan tag because the " tagged" is the default configuration of vlan-member.


Command Syntax
set interface aggregate-ethernet <lag_name> family ethernet-switching vlan members <vlan-id>
delete interface aggregate-ethernet <lag_name> family ethernet-switching vlan members <vlan-id>


Parameter
<lag_name> Name of a LAG interface.
<vlan-id> Configure the VLAN ID or VLAN ID range for which the interface can carry traffic, eg: 2, 3... Range: 1 to 4094.

NOTE:

When configuring VLAN member, use VLAN ID or VLAN range, but NOT other strings.



Example

• This example is adding a trunk LAG port (ae1) to a VLAN:

admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk
admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching vlan members 5 
admin@XorPlus# commit 

• This example is adding a trunk LAG port (ae1) to a VLAN range:

admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk
admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching vlan members 50-100 
admin@XorPlus# commit 

• This example is adding a trunk LAG port (ae1) to VLAN 2 and 3:

admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk
admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching vlan members 2,3
admin@XorPlus# commit 

Copyright © 2024 Pica8 Inc. All Rights Reserved.