vlan trunk native tag
Syntax
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.
Theno
form of this command removes tagging on a native VLAN.
Command context
config-if
Parameters
<VLAN-ID>
Specifies the number of the native VLAN ID on which to enable tagging. The VLAN ID must exist. Range: 1 - 4094.
Authority
Administrators
Examples
Enabling tagging on native VLAN ID 20 on trunk interface 1/1/2:
switch(config)# interface 1/1/2 switch(config-if)# no routing switch(config-if)# vlan trunk native 20 switch(config-if)# vlan trunk native 20 tag
Removing tagging on the native VLAN ID 20 assigned to trunk interface 1/1/2:
switch(config)# interface 1/1/2 switch(config-if)# no vlan trunk native 20 tag
Enbling tagging on the native VLAN ID 20 assigned to LAG trunk interface 2:
switch(config)# interface lag 2 switch(config-lag-if)# no routing switch(config-lag-if)# vlan trunk native 20 switch(config-lag-if)# vlan trunk native 20 tag