C613-50631-01 Rev A Command Reference for IE340 Series 675
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
VLAN COMMANDS
SWITCHPORT
TRUNK NATIVE VLAN
switchport trunk native vlan
Overview Use this command to configure the native VLAN for this port. The native VLAN is
used for classifying the incoming untagged packets. Use the none parameter with
this command to remove the native VLAN from the port and set the acceptable
frame types to VLAN-tagged only.
Use the no variant of this command to reset the native VLAN to the default VLAN
ID 1 and remove tagged VLANs from the port.
Syntax
switchport trunk native vlan {<vid>|none}
no switchport trunk native vlan
Default VLAN 1 (the default VLAN), which is reverted to using the no form of this
command.
Mode Interface Configuration
Examples To set the native VLAN on interface port1.0.2 to VLAN 2, use the commands:
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk native vlan 2
To remove the native VLAN from interface port1.0.2, use the commands:
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# switchport trunk native vlan none
To reset the native VLAN on interface port1.0.2 to the default VLAN 1, use the
commands:
awplus# configure terminal
awplus(config)# interface port1.0.2
awplus(config-if)# no switchport trunk native vlan
Command
changes
Version 5.5.0-1.3: Support for up to 5 VLANs added to AR1050V
Parameter Description
<vid> The ID of the VLAN that will be used to classify the incoming
untagged packets, in the range 2-2094. The VLAN ID must be a part of
the VLAN member set of the port.
none No native VLAN specified. This option removes the native VLAN from
the port and sets the acceptable frame types to vlan-tagged only.
Note: Use the no variant of this command to revert to the default
VLAN 1 as the native VLAN for the specified interface switchport - not
none.