API Guide

Table Of Contents
When you remove a tagged interface from a VLAN (using the no tagged interface command), it remains tagged only if it is a
tagged interface in another VLAN. If the tagged interface is removed from the only VLAN to which it belongs, the interface is placed in
the Default VLAN as an untagged interface.
Moving Untagged Interfaces
To move untagged interfaces from the Default VLAN to another VLAN, use the following commands.
1. Access INTERFACE VLAN mode of the VLAN to which you want to assign the interface.
CONFIGURATION mode
interface vlan vlan-id
2. Configure an interface as untagged.
INTERFACE mode
untagged interface
This command is available only in VLAN interfaces.
The no untagged interface command removes the untagged interface from a port-based VLAN and places the interface in the
Default VLAN. You cannot use the
no untagged interface command in the Default VLAN. The following example shows the steps
and commands to move an untagged interface from the Default VLAN to another VLAN.
To determine interface status, use the show vlan command. Interface (te 2/2) is untagged and in the Default VLAN (vlan 1). In a port-
based VLAN (vlan 4), use the untagged command to add the interface to that VLAN. The show vlan command output displays the
interface’s changed status (te 2/2). Because the Default VLAN no longer contains any interfaces, it is listed as inactive.
Dell#show vlan
Codes: * - Default VLAN, G - GVRP VLANs
NUM Status Q Ports
* 1 Active U Te 2/2
2 Active T Po1(Te 0/0-1)
T Te 2/0
3 Active T Po1(Te 0/0-1)
T Te 2/1
4 Inactive
Dell#conf
Dell(conf)#int vlan 4
Dell(conf-if-vlan)#
untagged te 2/2
Dell(conf-if-vlan)#show config
!
interface Vlan 4
no ip address
untagged TenGigabitEthernet 2/2
Dell(conf-if-vlan)#end
Dell#
show vlan
Codes: * - Default VLAN, G - GVRP VLANs
NUM Status Q Ports
* 1 Inactive
2 Active T Po1(Te 0/0-1)
T Te 2/0
3 Active T Po1(Te 0/0-1)
T Te 2/1
4 Active U Te 2/2
Dell#
The only way to remove an interface from the Default VLAN is to place the interface in Default mode by using the no switchport
command in INTERFACE mode.
950
Virtual LANs (VLANs)