VLAN Commands
switchport dot1q-tunnel vlan
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
510
41
•
The PVID of a general port is not changed when the port is removed from
the default VLAN (as a tagged). If the PVID is the default VLAN, the port is
added by the system to the default VLAN as an untagged.
Example
The following example configures gi11 as a tagged port in the default VLAN:
switchxxxxxx(config)#
interface gi11
switchxxxxxx(config-if)#
switchport mode trunk
switchxxxxxx(config-if)#
switchport default-vlan tagged
switchport dot1q-tunnel vlan
To set the VLAN for a port when it is in the 802.1q-tunnel mode (set by the
switchport mode command), use the switchport dot1q-tunnel vlan Interface
Configuration mode command.
To remove 802.1q tunnel VLAN, use the no form of this command.
Syntax
switchport dot1q-tunnel vlan
vlan-id
no switchport dot1q-tunnel vlan
Parameters
•
vlan-id
—Specifies the 802.1q tunnel VLAN.
Default Configuration
The default VLAN is configured as the 802.1q tunnel VLAN.
Command Mode
Interface Configuration (Ethernet, port channel) mode
Example
The following example defines gi5 as a member of the customer VLAN 2:
switchxxxxxx(config)#
interface gi5
switchxxxxxx(config-if)#
switchport mode dot1q-tunnel