# VLANs (/docs/netbox/v4.4/models/ipam/vlan)



A Virtual LAN (VLAN) represents an isolated layer two domain, identified by a name and a numeric ID (1-4094) as defined in [IEEE 802.1Q](https://en.wikipedia.org/wiki/IEEE_802.1Q). VLANs are arranged into [VLAN groups](/netbox/v4.4/models/ipam/vlangroup/) to define scope and to enforce uniqueness.

## Fields [#fields]

### ID [#id]

A 12-bit numeric ID for the VLAN, 1-4094 (inclusive).

### Name [#name]

The configured VLAN name.

### Status [#status]

The VLAN's operational status.

<Callout type="info">
  Additional statuses may be defined by setting `VLAN.status` under the [`FIELD_CHOICES`](/netbox/v4.4/configuration/data-validation/#field_choices) configuration parameter.
</Callout>

### Role [#role]

The user-defined functional [role](/netbox/v4.4/models/ipam/role/) assigned to the VLAN.

### VLAN Group or Site [#vlan-group-or-site]

<Callout type="warn" title="Site assignment is deprecated">
  The assignment of individual VLANs directly to a site has been deprecated. This ability will be removed in a future NetBox release. Users are strongly encouraged to utilize VLAN groups, which have the added benefit of supporting the assignment of a VLAN to multiple sites.
</Callout>

The [VLAN group](/netbox/v4.4/models/ipam/vlangroup/) or [site](/netbox/v4.4/models/dcim/site/) to which the VLAN is assigned.

### Q-in-Q Role [#q-in-q-role]

For VLANs which comprise a Q-in-Q/IEEE 802.1ad topology, this field indicates whether the VLAN is treated as a service or customer VLAN.

### Q-in-Q Service VLAN [#q-in-q-service-vlan]

The designated parent service VLAN for a Q-in-Q customer VLAN. This may be set only for Q-in-Q custom VLANs.
