Configuration manual

INTERFACE mode
untagged interface
This command is available only in VLAN interfaces.
Move an Untagged Interface to Another VLAN
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 (gi 3/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 (gi 3/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 Gi 3/2
2 Active T Po1(So 0/0-1)
T Gi 3/0
3 Active T Po1(So 0/0-1)
T Gi 3/1
4 Inactive
Dell#conf
Dell(conf)#int vlan 4
Dell(conf-if-vlan)#
untagged gi 3/2
Dell(conf-if-vlan)#show config
!
interface Vlan 4
no ip address
untagged GigabitEthernet 3/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(So 0/0-1)
T Gi 3/0
3 Active T Po1(So 0/0-1)
T Gi 3/1
4 Active U Gi 3/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.
824
Virtual LANs (VLANs)