# Virtual Local Area Network - emllVlan The parameters to the VLAN Real-time Ethernet Driver are setup-specific. The function “CreateLinkParmsFromCmdLineVlan” in [`EcSelectLinkLayer.cpp`](_downloads/bf62c71a4a7e317930818b9da4a9815c/EcSelectLinkLayer.cpp) demonstrates how to initialize the Real-time Ethernet Driver instance. ### struct EC_T_LINK_PARMS_VLAN ### Public Members ### [EC_T_LINK_PARMS](emll_init.html.md#_CPPv415EC_T_LINK_PARMS) linkParms Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_MULTIPLIER. ### [EC_T_WORD](toc_api.html.md#_CPPv49EC_T_WORD) wVlanId VLAN Identifier (VID) ### [EC_T_WORD](toc_api.html.md#_CPPv49EC_T_WORD) wVlanPrio VLAN Priority code point (PCP) ### [EC_T_LINK_PARMS](emll_init.html.md#_CPPv415EC_T_LINK_PARMS) \*pHwLinkParms Link parameters of network adapter connected to the uplink of the Multiplier ### EC_T_VLAN_MODE eVlanMode Vlan switch operation mode ## Switch Configuration Ensure that the Spanning Tree Protocol (STP) is disabled on the ports used for EtherCAT, because it can lead to permanent frame loss.