beautypg.com

Switchport trunk native vlan – Allied Telesis AT-8100 Series User Manual

Page 940

background image

Chapter 61: Port-based and Tagged VLAN Commands

940

SWITCHPORT TRUNK NATIVE VLAN

Syntax

switchport trunk native vlan

vid

|none

Parameters

vid

Specifies the VID of the VLAN that will act as the default VLAN for
all ingress and egress untagged packets on the tagged port. You
can enter just one VID.

none

Reestablishes the Default_VLAN as the native VLAN of the port.
This is equivalent to the NO form of this command.

Mode

Port Interface mode

Description

Use this command to designate native VLANs for tagged ports. The native
VLAN of a tagged port specifies the appropriate VLAN for ingress
untagged packets. A tagged port can have only one native VLAN, and the
VLAN must already exist on the switch.

Note

You cannot assign a native VLAN to a port that is already a tagged
member of that VLAN because a port cannot be both a tagged and
untagged member of the same VLAN.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 170

Examples

This example designates VLAN 17 as the native VLAN for tagged port 15:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.15
awplus(config-if)# switchport mode trunk
awplus(config-if)# switchport trunk native vlan 17