Switchport Trunk Native Vlan - Allied Telesis AR2050V Command Reference Manual

Secure, for alliedware plus version 5.4.7-1.x
Table of Contents

Advertisement

VLAN C
OMMANDS

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 revert the native VLAN to the default VLAN
ID 1. Command negation removes tagged VLANs, and sets the native VLAN to the
default VLAN.
switchport trunk native vlan {<vid>|none}
Syntax
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
port1.0.2:
awplus#
awplus(config)#
awplus(config-if)#
The following commands show the removal of the native VLAN for interface
port1.0.2:
awplus#
awplus(config)#
awplus(config-if)#
The following commands revert the native VLAN to the default VLAN 1 for interface
port1.0.2:
awplus#
awplus(config)#
awplus(config-if)#
C613-50186-01 Rev B
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.
configure terminal
interface port1.0.2
configure terminal
interface port1.0.2
configure terminal
interface port1.0.2
Command Reference for AR2050V
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
switchport trunk native vlan 2
switchport trunk native vlan none
no switchport trunk native vlan
472

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents