---
title: VLAN Configuration
description: How do I configure Preseem to inspect into 802.1q and 802.1ad VLANs?
---

[Skip to content](https://docs.preseem.com/vlan-configuration#main-content)

English

Show submenu for translations

![Preseem logo white-1.png\]](https://docs.preseem.com/hs-fs/hubfs/Preseem%20logo%20white-1.png?height=40&name=Preseem%20logo%20white-1.png)

- [Aterlo Blog](https://preseem-467307.hs-sites.com/blog)

Open main navigation

Close main navigation

- [Aterlo Blog](https://preseem-467307.hs-sites.com/blog)
- English
  
  Show submenu for translations
- Contact us

 Contact us

 Hi There! How Can We Help You?

- There are no suggestions because the search field is empty.

1. [Help Center](https://docs.preseem.com/?hsLang=en)
2. [Administering Preseem](https://docs.preseem.com/administering-preseem?hsLang=en)
3. [Planning and Configuration](https://docs.preseem.com/administering-preseem?hsLang=en#planning-and-configuration)

# VLAN Configuration

## How do I configure Preseem to inspect into 802.1q and 802.1ad VLANs?

By default, Preseem does not inspect into VLANs for either 802.1q or 802.1ad. This means that traffic in VLANs is simply bridged through Preseem without inspecting it (calculating its metrics) or shaping its bandwidth.

If you wish to inspect and shape VLAN traffic, there are two options:

1. Configure Preseem to inspect into any 802.1q or 802.1ad VLAN
2. Configure specific VLANs to inspect

### Limitations

At present, Preseem can process 802.1ad (Q-in-Q) up to two VLANs deep.

### Applying Configuration Changes

To apply the configuration below, the NetdevManager service needs to be restarted.

```
systemctl restart preseem-netdev-manager
```

### Inspecting All VLAN Traffic

*Note that Preseem version \>= 1.10.5 is required to inspect all VLAN traffic.*

Inspection (and shaping) of VLAN traffic is configured on a per-bridge basis in /etc/preseem/config.yaml. The following configuration snippet configures Preseem to inspect any VLANs on br0, for both 802.1q and 802.1ad:

```
bridges:  br0:    802.1q:      InspectAllVlansByDefault: true    802.1ad:      InspectAllVlansByDefault: true
```

### Inspecting Specific VLANs

The list of VLANs to inspect is configured on a per-bridge basis. The following example configures br1 to inspect traffic only for specific 802.1q and 802.1ad VLANs:

```
bridges:  br1:    802.1q:      vlans:        20:          inspect: true    802.1ad:      stags:        4050:          ctags:            99:              inspect: true
```

### Ignoring Specific VLANs

It is also possible to reverse the logic to inspect all VLANs by default, while ignoring specific VLANs:

```
bridges:  br1:    802.1q:      inspectAllVlansByDefault: true      vlans:        20:          inspect: false    802.1ad:      inspectAllVlansByDefault: true      stags:        4050:        ctags:          99:            inspect: false
```

 

 

- [Getting Started with Preseem](https://docs.preseem.com/getting-started-with-preseem?hsLang=en#main-content)

    - [Deploying Preseem](https://docs.preseem.com/getting-started-with-preseem?hsLang=en#deploying-preseem)
    - [Mapping the Network Topology](https://docs.preseem.com/getting-started-with-preseem?hsLang=en#mapping-the-network-topology)
    - [Enforcing Plan Speeds](https://docs.preseem.com/getting-started-with-preseem?hsLang=en#enforcing-plan-speeds)
- [Using Preseem](https://docs.preseem.com/using-preseem?hsLang=en#main-content)

    - [How to Use Preseem to Troubleshoot Subscriber Issues](https://docs.preseem.com/using-preseem?hsLang=en#how-to-use-preseem-to-troubleshoot-subscriber-issues)
    - [Operations](https://docs.preseem.com/using-preseem?hsLang=en#operations)
    - [How to Use Preseem to Optimize QoE](https://docs.preseem.com/using-preseem?hsLang=en#how-to-use-preseem-to-optimize-qoe)
    - [Preseem's RF Scoring and Metrics](https://docs.preseem.com/using-preseem?hsLang=en#preseems-rf-scoring-and-metrics)
- [Administering Preseem](https://docs.preseem.com/administering-preseem?hsLang=en#main-content)

    - [Upgrades](https://docs.preseem.com/administering-preseem?hsLang=en#upgrades)
    - [Planning and Configuration](https://docs.preseem.com/administering-preseem?hsLang=en#planning-and-configuration)
    - [Troubleshooting](https://docs.preseem.com/administering-preseem?hsLang=en#troubleshooting)
    - [User Management](https://docs.preseem.com/administering-preseem?hsLang=en#user-management)
- [Hardware](https://docs.preseem.com/hardware?hsLang=en#main-content)

    - [Preseem Hardware](https://docs.preseem.com/hardware?hsLang=en#preseem-hardware)
    - [Generic Hardware](https://docs.preseem.com/hardware?hsLang=en#generic-hardware)
    - [Legacy Hardware](https://docs.preseem.com/hardware?hsLang=en#legacy-hardware)
- [Integrations](https://docs.preseem.com/integrations?hsLang=en)
- [Release Notes](https://docs.preseem.com/release-notes?hsLang=en#main-content)

    - [Archived Release Notes](https://docs.preseem.com/release-notes?hsLang=en#archived-release-notes)
- [FAQs and Other Explanations](https://docs.preseem.com/faqs-and-other-explanations?hsLang=en)

- [Aterlo Blog](https://preseem-467307.hs-sites.com/blog)

[![Chill listening crop-3](https://docs.preseem.com/hs-fs/hubfs/Preseem_logo_large.png?width=80&height=30&name=Preseem_logo_large.png "Chill listening crop-3")](https://preseem.com/)

Copyright © 2026, Preseem (Aterlo Networks)