beautypg.com

Switchport trunk native vlan – Allied Telesis AT-DC2552XS User Manual

Page 324

background image

Chapter 13: VLAN Commands

324

Section II: Layer 2 Switching

SWITCHPORT TRUNK NATIVE VLAN

Syntax

switchport trunk native vlan

vid

|none

Parameters

vid

Specifies the VID of the VLAN. The range is 1 to 4094. You can
specify only one VID.

none

Specifies that the tagged ports do not accept untagged frames.

Mode

Port Interface mode

Description

Use this command to designate the native VLAN for tagged ports. The
native VLAN stores untagged frames received by tagged ports. A tagged
port can have only one native VLAN and the VLAN must already exist on
the switch. By default, the native VLAN is the set to the default VLAN 1.

Note

To assign a VLAN as the native VLAN, the ports must be in the trunk
mode. Use the SWITCHPORT MODE TRUNK command to place a
port in trunk mode. See “SWITCHPORT MODE TRUNK” on
page 320.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116

Examples

This example designates VLAN 17 as the native VLAN for tagged port
1.0.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