Dell Networking: How to Configure VLANs and Associate Ports to VLANs on OS9 switch
Summary: This article explains how to set up VLANs on Dell OS9 switches.
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Table of Contents
Switchport
When an interface is in switchport mode, it passes multiple tagged VLANs, or one untagged VLAN. It cannot accept both untagged and tagged traffic.
To configure switchport:
FTOS#config FTOS(conf)#Interface Te0/5 FTOS(conf-if-te-0/5)#switchport
To remove switchport:
FTOS(conf-if-te-0/5)#no switchport
Note: To configure switchport mode, first verify that any existing configuration on the interface is removed. For instance, the system does not allow switchport to be configured on an interface that is assigned an IP address, as the interface is already in Layer 3 mode.
Hybrid switchport
When an interface is in hybrid switchport mode, the interface may pass both untagged and tagged VLANs.
To configure hybrid switchport:
FTOS#config FTOS(conf)#Interface Te0/5 FTOS(conf-if-te-0/5)#portmode hybrid FTOS(conf-if-te-0/5)#switchport
To remove hybrid switchport:
FTOS(conf-if-te-0/5)#no switchport FTOS(conf-if-te-0/5)#no portmode hybrid
Note: To configure hybrid switchport mode, first verify that any existing configuration on the interface is removed. For instance, the system does not allow switchport to be configured on an interface that is assigned an IP address, as the interface is already in Layer 3 mode.
Creating VLANs
To create a VLAN, input the following commands. This example creates VLANs 414 and 515.
FTOS#config FTOS(conf)#Interface Vlan 414 FTOS(conf-if-vl-414)#exit FTOS(conf)#Interface Vlan 515
You are only able to create VLANs one at a time.
Applying VLANs to interfaces
To add a VLAN to an interface untagged, input the following commands:
FTOS#config FTOS(conf)#Interface Vlan 414 FTOS(conf-if-vl-414)#untagged te0/5
To add a VLAN to an interface with an 802.1Q tag, input the following command:
FTOS(conf-if-vl-414)#tagged te0/9
To apply multiple VLANs to an interface:
FTOS(conf)#interface range Vlan 414 – 515 % Warning: interface-range ignores Non-existing ports (not configured).
Note: The above error message is stating that within the range of 414 to 515, only the VLANs we have already created are configured. This is useful for creating a link to a Trunk Cisco port. Interface range Vlan 2-4094 allows you to add all existing VLANs to an interface to simulate a Trunk port without creating excess configuration. This command does not create new VLANs.
To apply the VLAN to a range of interfaces:
FTOS(conf-if-vl-414)#tagged te0/5-10
To remove the VLAN from the interface:
FTOS(conf-if-vl-414)#no tagged te0/5-10
Useful show commands
show vlan |
Shows the existing VLANs and their ports |
show run interface te0/5 |
Shows configuration of Interface te0/5 |
show run interface vlan 414 |
Shows configuration of VLAN 414 |
show interface switchport te0/5 |
Shows the tagged and untagged VLANs on a port |
Affected Products
Force10 E1200i, Force10 E300, Force10 E600i, Force10 MXL Blade, Force10 S25N-S50N, Force10 S25-01-GE-24T, Force10 S25-01-GE-24V, Force10 S50-01-GE-48T-V, Force10 S50-01-GE-48T, PowerSwitch S3048-ON, PowerSwitch S4048-ON, PowerSwitch S4810P
, PowerSwitch S4810-ON, PowerSwitch S5000, Force10 S50P, Force10 S55T, Force10 S60-44T, PowerSwitch S6000, Force10 Z9000, Dell Networking Z9500, Dell Networking S3100 Series, PowerSwitch S4048T-ON
...
Article Properties
Article Number: 000119270
Article Type: How To
Last Modified: 27 Feb 2024
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.