beautypg.com

Switchport trunk native vlan

Page 662

background image

Command Reference Guide

Ethernet Interface Configuration Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

662

switchport trunk native vlan

Use the switchport trunk native vlan command to set the VLAN native to the interface when the
interface is in trunking mode. To return to defaults, use the no version of this command.

Syntax Description

Specifies a valid VLAN interface ID (1 to 4094).

Default Values

By default, this is set to VLAN 1.

Applicable Platforms

This command applies to the NetVanta 300, 1000, and 1000R Series units.

Command History

Release 5.1

Command was introduced.

Functional Notes

Configure which VLAN the interface uses as its native VLAN during trunking. Packets from this VLAN
leaving the interface will not be tagged with the VLAN number. Any untagged packets received by the
interface are considered a part of the native VLAN ID.

Usage Examples

The following example sets the native VLAN on Ethernet interface 0/1 to VLAN 2:

(config)#interface eth 0/1

(config-eth 0/1)#switchport trunk native vlan 2