---
title: "SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scvlaninterfacesetphysicalinterfaceandtag(_:_:_:)"
---

# SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)

Updates the specified virtual LAN (VLAN) interface with the specified information.

## Declaration

```swift
func SCVLANInterfaceSetPhysicalInterfaceAndTag(_ vlan: SCVLANInterface, _ physical: SCNetworkInterface, _ tag: CFNumber) -> Bool
```

## Parameters

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

## Return Value

Return Value TRUE if the configuration was stored; FALSE if an error occurred.

## See Also

### Configuring VLAN Interfaces

- [SCVLANInterfaceCopyAll(_:)](systemconfiguration/scvlaninterfacecopyall(_:).md)
- [SCVLANInterfaceCopyAvailablePhysicalInterfaces()](systemconfiguration/scvlaninterfacecopyavailablephysicalinterfaces().md)
- [SCVLANInterfaceCreate(_:_:_:)](systemconfiguration/scvlaninterfacecreate(_:_:_:).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)
