<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SystemConfiguration",
  "identifier" : "/documentation/SystemConfiguration/SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "System Configuration"
    ],
    "preciseIdentifier" : "c:@F@SCVLANInterfaceSetPhysicalInterfaceAndTag"
  },
  "title" : "SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)"
}
-->

# SCVLANInterfaceSetPhysicalInterfaceAndTag(_:_:_:)

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

```
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

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)