White Papers

Table Of Contents
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 (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 interfaces 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 Tengig 3/2
2 Active T Po1(So 0/0-1)
T Tengig 3/0
3 Active T Po1(So 0/0-1)
T Tengig 3/1
4 Inactive
Dell#conf
Dell(conf)#int vlan 4
Dell(conf-if-vlan)#untagged tengig 3/2
Dell(conf-if-vlan)#show config
!
interface Vlan 4
no ip address
untagged Tengigabitethernet 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 Tengig 3/0
3 Active T Po1(So 0/0-1)
T Tengig 3/1
4 Active U Tengig 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.
Assigning an IP Address to a VLAN
VLANs are a Layer 2 feature. For two physical interfaces on different VLANs to communicate, you must assign an IP address to
the VLANs to route traffic between the two interfaces.
The shutdown command in INTERFACE mode does not affect Layer 2 traffic on the interface; the shutdown command only
prevents Layer 3 traffic from traversing over the interface.
NOTE:
You cannot assign an IP address to the Default VLAN (VLAN 1). To assign another VLAN ID to the Default VLAN,
use the default vlan-id vlan-id command.
842 Virtual LANs (VLANs)