unifi_get_network
Get a network or VLAN by its ID to view full configuration details, including IPv4/IPv6, DHCP, DNS, and feature flags.
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), and an ipv6Configuration object (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 |