Switchport Trunk Native Vlan - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

VLAN Commands

switchport trunk native vlan

switchport trunk native vlan
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Example
The following example adds VLANs 2, 3, and 100 to trunk ports 1 to 13:
switchxxxxxx(config)# interface range gi1-13
switchxxxxxx(config-if)# switchport mode trunk
switchxxxxxx(config-if)# switchport trunk allowed vlan add 2-3,100
If an untagged packet arrives on a trunk port, it is directed to the port's native
VLAN. To define the native VLAN for a trunk port, use the switchport trunk native
vlan Interface Configuration mode command.
To revert to its default setting, use the no form of this command.
Syntax
switchport trunk native vlan
no switchport trunk native vlan
Parameters
vlan-id
—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 that VLAN.
Example
The following example defines VLAN 2 as the native VLAN for gi 1 1.
switchxxxxxx(config)# interface gi11
vlan-id
41
521

Advertisement

Table of Contents
loading

Table of Contents