Reference Guide
56 | Getting Started
www.dell.com | support.dell.com
To create a port-based VLAN, follow this step:
To view the configured VLANs, use the show vlan command in EXEC Privilege mode.
Assigning Interfaces to a VLAN
You can only assign interfaces in Layer 2 mode to a VLAN using the tagged and untagged commands. To
place an interface in Layer 2 mode, use the switchport command.
You can designate Layer 2 interfaces as tagged or untagged. When you place an interface in Layer 2 mode
using the switchport command, the interface is automatically designated untagged and placed in the
Default VLAN.
To view which interfaces are tagged or untagged and to view which VLAN the interfaces belong, use the
show vlan command. To view just the interfaces that are in Layer 2 mode, use the show interfaces
switchport command in EXEC Privilege mode or EXEC mode.
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, follow these steps:
Use the untagged command to move untagged interfaces from the Default VLAN to another VLAN:
Step Task Command Syntax Command Mode
1
Configure a port-based VLAN (if
the vlan-id is different from the
Default VLAN ID) and enter
INTERFACE VLAN mode.
After you create a VLAN, you
must assign interfaces in Layer 2
mode to the VLAN to activate
the VLAN.
interface vlan vlan-id CONFIGURATION
Step Task Command Syntax Command Mode
1
Access the INTERFACE VLAN
mode of the VLAN to which you
want to assign the interface.
interface vlan vlan-id CONFIGURATION
2 Enable an interface to include the
IEEE 802.1Q tag header.
tagged interface INTERFACE










