vlan trunk native (LAG)

vlan trunk native <VLAN-ID>

no vlan trunk native [<VLAN-ID>]

Description

Assigns a native VLAN ID to a LAG interface.

The no form of this command removes a native VLAN from a LAG interface and assigns VLAN ID 1 as its native VLAN.

Parameter

Description

<VLAN-ID>

Specifies the number of the VLAN ID to assign. The VLAN ID must exist.

Maximum number of VLANs supported: 4096 (6300, 6400)

VLAN ID range: 2 to 4094.

Usage

By default, VLAN ID 1 is assigned as the LAG VLAN ID for all LAG interfaces. VLANs can only be assigned to a nonrouted (layer 2) interface or LAG interface.

Only one VLAN ID can be assigned as the native VLAN. For the interface to forward the native VLAN traffic, the interface has to be allowed explicitly by entering vlan trunk allowed <ID> where the ID is the native VLAN ID. This setting is also applicable to the physical interface.

Examples

Configuring a layer 2 dynamic aggregation group with native VLAN ID 1 assigned to LAG 1:

For HPE Aruba Networking 6300, 6400, 8100, 8320, 8325, 8360, 8400, 9300/9300S, and 10000 Switch series:

switch(config)# interface lag 1 switch(config-lag-if)# no shutdown switch(config-lag-if)# no routing switch(config-lag-if)# lacp mode active switch(config-lag-if)# vlan trunk native 1 switch(config-lag-if)# vlan trunk allowed 1

Configuring a layer 2 dynamic aggregation group with native VLAN ID 20 assigned to LAG 1:

For HPE Aruba Networking 6300, 6400, 8100, 8320, 8325, 8360, 8400, 9300/9300S, and 10000 Switch series:

switch(config)# interface lag 1 switch(config-lag-if)# no shutdown switch(config-lag-if)# no routing switch(config-lag-if)# lacp mode active switch(config-lag-if)# vlan trunk native 20 switch(config-lag-if)# vlan trunk allowed 20

Removing a native VLAN from LAG 1:

switch(config)# interface lag 1 switch(config-lag-if)# no vlan trunk native

For more information on features that use this command, refer to the Link Aggregation Guide for your switch model.

Command History

Release

Modification

10.07 or earlier

--

Command Information

Platforms

Command context

Authority

All platforms

config-if

config-lag-if

Administrators or local user group members with execution rights for this command.