1257
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
switchport trunk native vlan
switchport trunk native vlan
To configure the native VLAN ID for the virtual Ethernet interface, use the
switchport trunk native
vlan
command. To remove the native VLAN ID from the virtual Ethernet interface, use the
no
form of
this command.
switchport trunk native vlan
vlan_ID
no switchport trunk native vlan
Syntax Description
Command Default
None
Command Modes
Interface configuration mode
Virtual Ethernet interface configuration mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to set VLAN 3 as the native trunk port:
switch#
configure terminal
switch(config)#
interface vethernet 1
switch(config-if)#
switchport trunk native vlan 3
switch(config-if)#
Related Commands
vlan_ID
VLAN ID of the native VLAN when this port is in trunking mode. The
range is from 1 to 4094.
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
interface vethernet
Configures a virtual Ethernet interface.
show running-config
Displays the running system configuration information.