vlan trunk native tag
Syntax
vlan trunk native tag no vlan trunk native 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
这个命令删除标签的形式本地VLAN.Command context
config-if
Parameters
-
-
Specifies the number of a VLAN. Range: 1 to4094.
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling tagging on native VLAN20on trunk interface1/1/2:
switch(config)#interface 1/1/2switch(config-if)#no routingswitch(config-if)#vlan trunk native 20switch(config-if)#vlan trunk native 20 tag
Removing tagging on native VLAN20assigned to trunk interface1/1/2:
switch(config)#interface 1/1/2switch(config-if)#no vlan trunk native 20 tag
Enabling tagging on native VLAN20assigned to LAG trunk interface2:
switch(config)#interface lag 2switch(config-if)#no routingswitch(config-lag-if)#vlan trunk native 20switch(config-lag-if)#vlan trunk native 20 tag