Get network
unifi_get_networkRetrieve a network or VLAN by ID to view subnet, DHCP, IPv4/IPv6 settings, and feature flags like isolation and internet access.
Instructions
Get a network/VLAN by ID. Returns the list fields PLUS (live-verified) isolationEnabled, internetAccessEnabled, mdnsForwardingEnabled, cellularBackupEnabled, a full ipv4Configuration object (autoScaleEnabled, hostIpAddress, prefixLength, dhcpConfiguration with mode/ipAddressRange/leaseTimeSeconds/domainName/pingConflictDetectionEnabled/ntpServerIpAddresses — which may contain empty-string entries), and an ipv6Configuration object when IPv6 is configured (interfaceType, clientAddressAssignment, routerAdvertisement, hostIpAddress, prefixLength). NOTE: subnet/DHCP detail appears here at get-by-id but NOT in unifi_list_networks (sparse list view).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | Site ID | |
| networkId | Yes | Network ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| vlanId | No | ||
| zoneId | No | ||
| default | No | ||
| enabled | No | ||
| metadata | No | ||
| management | No | ||
| dhcpGuarding | No | ||
| isolationEnabled | No | ||
| ipv4Configuration | No | ||
| ipv6Configuration | No | ||
| cellularBackupEnabled | No | ||
| internetAccessEnabled | No | ||
| mdnsForwardingEnabled | No |