# netlab: How do I Specify VLAN Interface Parameters

DevFeed: [netlab: How do I Specify VLAN Interface Parameters](<https://devfeed.tech/articles/netlab-how-do-i-specify-vlan-interface-parameters-11088.md>)

Original publisher: [Read original article](<https://blog.ipspace.net/2024/10/netlab-vlan-interface-parameters/>)

Published: 2024-10-28T05:53:00Z

Content type: tutorial

Language: en

Sources: [ipSpace.net blog](<https://devfeed.tech/sources/ipspace-net-blog.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [FIRST](<https://devfeed.tech/topics/first.md>)

Tags: [bug](<https://devfeed.tech/tags/bug.md>), [github](<https://devfeed.tech/tags/github.md>), [netlab](<https://devfeed.tech/tags/netlab.md>), [ospf](<https://devfeed.tech/tags/ospf.md>), [parameter](<https://devfeed.tech/tags/parameter.md>)

## AI overview

This article explains how to specify VLAN interface parameters in netlab. Parameters should be defined in the node's VLAN definition, such as setting an OSPF cost for one node's VLAN interface. Copying parameters from the first VLAN link is discouraged, and some related bugs are being fixed.

## Source excerpt

Similarly to how it handles VRFs, netlab automatically creates VLANs on a lab device if the device uses them on any access- or trunk link or if the VLAN is mentioned in the node vlans dictionary. If the VLAN is an IRB VLAN (which can be modified globally or per node with the VLAN mode parameter), netlab also creates the VLAN (or SVI, or BVI) interface. But how do you specify the parameters of the VLAN interface? Read more ...