---
title: "SCVLANInterfaceCreate(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scvlaninterfacecreate(_:_:_:)"
---

# SCVLANInterfaceCreate(_:_:_:)

Creates a new virtual LAN (VLAN) interface.

## Declaration

```swift
func SCVLANInterfaceCreate(_ prefs: SCPreferences, _ physical: SCNetworkInterface, _ tag: CFNumber) -> SCVLANInterface?
```

## Parameters

- `prefs`: The preferences session.
- `physical`: The physical interface to associate with the VLAN.
- `tag`: The tag to associate with the VLAN. This value must be between 1 and 4094.

## Return Value

Return Value The new VLAN interface. You must release the returned value.

## See Also

### Configuring VLAN Interfaces

- [SCVLANInterfaceCopyAll(_:)](systemconfiguration/scvlaninterfacecopyall(_:).md)
- [SCVLANInterfaceCopyAvailablePhysicalInterfaces()](systemconfiguration/scvlaninterfacecopyavailablephysicalinterfaces().md)
- [SCVLANInterfaceGetOptions(_:)](systemconfiguration/scvlaninterfacegetoptions(_:).md)
- [SCVLANInterfaceGetPhysicalInterface(_:)](systemconfiguration/scvlaninterfacegetphysicalinterface(_:).md)
- [SCVLANInterfaceGetTag(_:)](systemconfiguration/scvlaninterfacegettag(_:).md)
- [SCVLANInterfaceRemove(_:)](systemconfiguration/scvlaninterfaceremove(_:).md)
- [SCVLANInterfaceSetLocalizedDisplayName(_:_:)](systemconfiguration/scvlaninterfacesetlocalizeddisplayname(_:_:).md)
- [SCVLANInterfaceSetOptions(_:_:)](systemconfiguration/scvlaninterfacesetoptions(_:_:).md)
- [SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)](systemconfiguration/scvlaninterfacesetphysicalinterfaceandtag(_:_:_:).md)
