Switchport Trunk Native Vlan - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide
once.") and the command continues to execute if there are more VLANs in the
VLAN list. See the example in
Example
To add VLANs 2,3 and 100 to trunk ports 1 to 13:
switchxxxxxx(config)# interface range 151-13
switchxxxxxx(config-if)# switchport mode trunk
switchxxxxxx(config-if)# switchport trunk allowed vlan add 2-3,100
switchxxxxxx(config-if)#

32.14 switchport trunk native vlan

If an untagged packet arrives on a trunk port, it is directed to the port's native
VLAN. Use the switchport trunk native vlan Interface Configuration (Ethernet,
port-channel) mode command to define the native VLAN for a trunk interface. Use
the no form of this command to restore the default native VLAN.
Syntax
switchport trunk native vlan
no switchport trunk native vlan
Parameters
vlan-id—Specifies the native VLAN ID.
Default Configuration
The default VLAN is the native VLAN.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command adds the port as a member of the VLAN. If the port is already a
member of the VLAN (not a native), it must first be removed from the VLAN.
If the interface is a forbidden member of the specified VLAN, it does not become a
member of the VLAN, but the command does not fail. Instead, an error message is
switchport access
vlan-id
vlan.
32
501

Advertisement

Table of Contents
loading

Table of Contents