vlan trunk native tag

vlan trunk native <VLAN-ID> tag

no vlan trunk native <VLAN-ID> tag

Description

Enables tagging on a native VLAN. Only incoming packets that are tagged with the matching VLAN ID are accepted. Incoming packets that are untagged are dropped except for BPDUs. Egress packets are tagged.

The no form of this command removes tagging on a native VLAN.

Parameter

Description

<VLAN-ID>

Specifies the number of a VLAN. Range: 1 to 4094.

Examples

On the HPE Aruba Networking 6400 Switch Series, interface identification differs.

Enabling tagging on native VLAN 20 on trunk interface 1/1/2:

switch(config)# interface 1/1/2

switch(config-if)# vlan trunk native 20

switch(config-if)# vlan trunk native 20 tag

Removing tagging on native VLAN 20 assigned to trunk interface 1/1/2:

switch(config)# interface 1/1/2

switch(config-if)# no vlan trunk native 20 tag

Enabling tagging on native VLAN 20 assigned to LAG trunk interface 2:

switch(config)# interface lag 2

switch(config-lag-if)# vlan trunk native 20

switch(config-lag-if)# vlan trunk native 20 tag

For more information on features that use this command, refer to the Layer 2 Bridging Guide for your switch model.

Command History

Release

Modification

10.07 or earlier

--

Command Information

Platforms

Command context

Authority

All platforms

config-if

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