Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell Networking S-Series: How to create VLANs using Console Command Line

Summary: How to create VLANs using Console Command Line.

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

Use the following procedure:

  1. Open the CLI using the console or management IP for your S-series switch.
  2. Log in to the privileged exec mode using your management credentials.
  3. To verify existing VLAN configurations use the Show vlan command, press enter.
NOTE: VLAN 1 is default and active on factory-default configurations.
  1. To create VLANs, run the configure terminal command to edit the switch configuration, press enter.
  2. To create a single VLAN, use the interface VLAN  command where X is the VLAN number, press enter.
  3. To create a range of VLANs, use the interface range vlan command followed by the VLAN numbers you want to add. For consecutive VLANs, use a hyphen. For nonconsecutive ranges, use a comma. You can also combine consecutive and nonconsecutive ranges if you must make bulk changes at one time.

Example:

  • Consecutive range of VLANs 3 through 5 is: interface range vlan 3-5.
  • Nonconsecutive range of VLANs 3,10, and 200 is: interface range vlan 3,10,200.
  • A mix of consecutive and nonconsecutive VLANs is: interface range vlan 3-5,10,200.
  1. To back out of the privileged exec mode, type End, press enter.
  2. To verify the changes, rerun the command Show interface VLAN.
  3. Once you have validated the changes and are ready to save your changes to the startup configuration, use the write memory command, press enter.


For further assistance, see Dell SmartFabric OS10 User Guide Release Documentation or reach out to Dell Technical Support.

See related KB article 125512: Dell SmartFabric OS10 Info Hub

Additional Information

Watch this video:

Affected Products

S Series
Article Properties
Article Number: 000196756
Article Type: How To
Last Modified: 27 Jun 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.