Reference Guide

840 | Virtual LANs (VLAN)
www.dell.com | support.dell.com
To tag frames leaving an interface in Layer 2 mode, you must assign that interface to a port-based VLAN
to tag it with that VLAN ID. To tag interfaces, use these commands in the following sequence:
Figure 45-4 shows the steps to add a tagged interface (in this case, port channel 1) to VLAN 4.
Figure 45-4. Example of Adding an Interface to Another VLAN
Except for hybrid ports, only a tagged interface can be a member of multiple VLANs. Hybrid ports can be
assigned to two VLANs if the port is untagged in one VLAN and tagged in all others.
When you remove a tagged interface from a VLAN (using the
no tagged interface command), it will remain
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.
Step Command Syntax Command Mode Purpose
1
interface vlan vlan-id CONFIGURATION Access the INTERFACE VLAN mode of the VLAN
to which you want to assign the interface.
2
tagged interface INTERFACE Enable an interface to include the IEEE 802.1Q tag
header.
FTOS#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
FTOS#config
FTOS(conf)#int vlan 4
FTOS(conf-if-vlan)#tagged po 1
FTOS(conf-if-vlan)#show conf
!
interface Vlan 4
no ip address
tagged Port-channel 1
FTOS(conf-if-vlan)#end
FTOS#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 T Po1(So 0/0-1)
FTOS#
Use the show vlan command to
view the interface’s status.
Interface (po 1) is tagged and in
VLAN 2 and 3
In a port-based VLAN, use the
tagged command to add the
interface to another VLAN.
The show vlan command
output displays the interface’s
(po 1) changed status.