---
title: "Configuring VLAN Ranges"
canonical: "https://docs.infoblox.com/space/nios85/35481119/Configuring%20VLAN%20Ranges"
format: markdown
---
A VLAN range is used by NIOS to group VLAN objects. A VLAN range ID must be in between 1 and 4094 (1 and 4094 included). A VLAN view can include one or more ranges. However, it is not mandatory that a VLAN view must include a range.

# Adding a VLAN Range

To add a VLAN range:

1. From the **Data Management** tab, click the **VLANs** tab.
2. From the Toolbar, click **Add**-> **VLAN Range**. The *Add VLAN Range Wizard* is displayed.
3. Click **Select VLAN View** to select the view to which the range must belong.
4. In the **VLAN Range Name** field, enter a name for the VLAN range.
5. In the **Start VLAN ID** field, <span style="color: #000000">enter the minimum </span><span style="color: #000000">ID that can be used by a VLAN object. </span>
6. <span style="color: #333333">In the </span>**<span style="color: #333333">End VLAN ID</span>**<span style="color: #333333"> field, </span><span style="color: #000000">enter the maximum </span><span style="color: #000000">ID that can be used by a VLAN object. </span>
7. <span style="color: #000000">Select the </span>**<span style="color: #000000">Pre-create VLANs</span>**<span style="color: #000000"> checkbox if you want NIOS to automatically create VLANs. When you select this checkbox, </span><span style="color: #000000">the </span>**<span style="color: #000000">VLAN Name Prefix</span>**<span style="color: #000000"> field becomes enabled and </span><span style="color: #000000">NIOS creates VLANs between the range you specified in the </span>**<span style="color: #333333">Start VLAN ID</span>**<span style="color: #333333"> and </span><span style="color: #333333">**End VLAN ID**</span><span style="color: #333333"> fields</span><span style="color: #000000">. If you select this checkbox when adding a VLAN range, </span>VLANs are created inside of the range. If you create an empty VLAN range, all existing VLANs (in a VLAN view) are re-parented by range if their IDs are in the start to end range IDs of the VLAN range. Therefore, if there are VLANs to re-parent by the newly created range, you cannot pre-create VLANs in this range. You cannot edit the **Pre-create VLANs** checkbox.
8. In the **VLAN Name Prefix** field, enter a prefix that will be added to the VLAN name. The VLAN name is constructed using the following pattern: `<VLAN Prefix Name> + <VLAN ID>` (the VLAN ID is optionally prefixed with zeros). VLANs are automatically created with the prefix name and VLAN ID. You cannot edit this field.
9. In the **Comment** field, enter additional information if any.
10. <span style="color: #000000">Click </span>**Next**<span style="color: #000000"> to define extensible attributes.</span> For more information, see <span style="color: #0000ff">[*Managing Extensible Attributes*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35448912)</span>.
11. Click **Save & Close** to save your configuration.

# Editing a VLAN Range

To edit the details of a VLAN range:

1. <span style="color: #333333">From the </span>**Data Management**<span style="color: #333333"> tab, click the </span>**VLANs**<span style="color: #333333"> tab.</span>
2. <span style="color: #000000">Click the VLAN view that the range belongs to, select the Action icon and click </span>**Edit**<span style="color: #000000">.</span>
3. <span style="color: #000000">Edit the details as required. </span><span style="color: #000000">You cannot edit </span><span style="color: #333333">the </span>**<span style="color: #000000">VLAN Name Prefix</span>**<span style="color: #333333"> field and the </span>**<span style="color: #333333">Pre-create VLANs</span>**<span style="color: #000000"> checkbox</span><span style="color: #333333">.</span>
4. <span style="color: #000000">Click </span>**<span style="color: #333333">Save & Close</span>**<span style="color: #000000">.</span>

> ⚠️ **Note**
> ⚠️ 
> ⚠️ <span style="color: #000000">C</span><span style="color: #000000">hanging the start and end VLAN IDs may lead to re-parenting of the child VLANs. Based on how the start and end VLAN IDs of the range changed, new VLANs may be added to the range or removed from it (in which case the VLAN view becomes the new parent). Also, changing parent field allows you to move ranges between views.</span>


# Deleting a VLAN Range

<span style="color: #000000">To delete a VLAN range:</span>

1. <span style="color: #333333">From the </span>**Data Management**<span style="color: #333333"> tab, click the </span>**VLANs**<span style="color: #333333"> tab.</span>
2. <span style="color: #000000">Click the VLAN view that the range that you want to delete belongs to.</span>
3. <span style="color: #000000">Select the VLAN range, select the Action icon and click </span>**Delete**<span style="color: #000000">.</span>
4. <span style="color: #333333">Select the </span>**<span style="color: #333333">Delete only the VLAN Range and re-parent the VLANs</span>**<span style="color: #333333"> option if you want to delete only the VLAN range and not the VLAN child objects under the range. In this case, if you had selected the </span>**<span style="color: #333333">Allow VLAN Range Overlapping</span>**<span style="color: #333333"> </span><span style="color: #333333">option when creating the VLAN view:</span>  
<span style="color: #333333">-  If </span><span style="color: #333333">the VLAN IDs of the VLAN objects can be categorized into another VLAN range, then the child objects are automatically categorized under the new VLAN range. </span>  
<span style="color: #333333">-  If the VLAN IDs cannot be categorized under a VLAN range, then the VLAN child objects are categorized under the VLAN view. </span>  
<span style="color: #333333">-  If the VLAN IDs can </span><span style="color: #333333">be categorized into more than one VLAN range, then NIOS displays an error message because it cannot determine the VLAN range under which to categorize the VLAN IDs and the VLAN range is not deleted.</span>
5. <span style="color: #333333">Select the </span>**<span style="color: #333333">Delete the VLAN Range and all VLANs below it</span>**<span style="color: #333333"> option if you want both the VLAN range and the VLAN child objects that belong to the VLAN range to be deleted.</span>
  
6. <span style="color: #333333">Click </span>**<span style="color: #333333">Yes</span>**<span style="color: #333333"> in the </span>*<span style="color: #333333">Delete Confirmation</span>*<span style="color: #333333"> dialog box.</span>

## Example - VLAN Range Deletion

The following example illustrates how VLAN objects are categorized when you delete a VLAN range.

![image](media://f2d3d432-0a3f-4e6d-a3a9-8aae43d93148)

This example illustrates 3 VLAN ranges that allow overlapping VLAN IDs. If you try to delete VLAN Range 3, NIOS displays an error message because the child VLAN objects VLAN 40 and VLAN 41 can either be categorized under VLAN Range 1 or VLAN Range 2, and the VLAN Range 3 is not deleted. In this scenario, you must manually change the parent of the VLAN objects.