beautypg.com

Switchport trunk native vlan, Vid>|none, Switchport trunk native – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 455: Vlan

background image

VLAN Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

17.27

switchport trunk native vlan

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 revert the native VLAN to the default VLAN ID 1.
Command negation removes tagged VLANs, and sets the native VLAN to the default
VLAN.

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

The following commands show configuration of VLAN 2 as the native VLAN for interface

port1.0.2

:

The following commands show the removal of the native VLAN for interface port1.0.2:

The following commands revert the native VLAN to the default VLAN 1 for interface
port1.0.2

:

Parameter

Description

<vid>

<2-4094>
The ID of the VLAN that will be used to classify the incoming
untagged packets. 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.

awplus#

configure terminal

awplus(config)#

interface port1.0.2

awplus(config-if)#

switchport trunk native vlan 2

awplus#

configure terminal

awplus(config)#

interface port1.0.2

awplus(config-if)#

switchport trunk native vlan none

awplus#

configure terminal

awplus(config)#

interface port1.0.2

awplus(config-if)#

no switchport trunk native vlan