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

# SCVLANInterfaceGetTag(_:)

Returns the tag for the specified virtual LAN (VLAN) interface.

```
func SCVLANInterfaceGetTag(_ vlan: SCVLANInterface) -> CFNumber?
```

## Parameters

`vlan`

The VLAN interface.

## Return Value

The tag for the VLAN interface.

## Discussion

---

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)