Query LAN Networks (v3.3)
POST/sdwan/v3.3/api/sites/:site_id/lannetworks/query
Query LAN networks that match query parameters.
Request
Path Parameters
The ID of the site.
- application/json
Body
- Array [
- ]
aggregate Aggregate
The aggregate number of LAN networks that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
The field value.
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
The operator values.
The aggregate statistics.
The unit.
The destination page.
The number of LAN networks deleted for a time frame.
Group the LAN networks for the query.
Lists the LAN networks by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
Total number.
items LANNetworkQueryFilterV3N3[]
The description of the LAN network. Maz size = 256.
The ID of the LAN network.
ipv4_config LanNetworkIPv4Config
The Ipv4 config of the LAN network. Maz size = 256.
The default routers configured for the network.
dhcp_relay DHCPRelay
Details of DHCP relay if enabled.
Indicates if DHCP relay is enabled.
option_82 DHCPRelayOption82
Details of option_82 if enabled. The ION device DHCP Relay agent can include additional information by using DHCP Option 82, Circuit ID, and Remote ID, which the DHCP server uses to allocate the appropriate IP address.
The DHCP relay circuit ID.
Option 82 if enabled.
Possible values: [REPLACE
, KEEP
, APPEND
, DROP
]
The DHCP server reforwarding policy.
The DHCP server remote ID.
The DHCP server IP addresses.
The DHCP server source interface.
dhcp_server DHCPServer
Details of DHCP server if configured.
The address of the site.
custom_options BaseCustomDHCPOptions[]
Custom options defined for the DHCP server.
Custom option definition. Max length supported is 1024.
Custom option value. Max length supported is 8192.
The lease time each client will get if a user does not request a particular lease time.
Description of each instance of the DHCP server, per subnet.
Uncheck to enable the configuration.
The domain name servers for clients to resolve DNS requests. Max number is 3.
The domain name for clients. Max length is 256.
The default gateway for clients.
The DHCP server ID.
ip_ranges IPRange[]required
The valid IPv4 address range for defined subnet.
The original end IP address for the defined subnet.
The original start IP address for the defined subnet.
The maximum lease time the clients can use.
ID of the network context, if configured.
static_mappings StaticMapping[]
IP addresses assigned to clients by statically mapping IPs to MAC addresses of the clients.
IP addresses assigned mapped to MAC addresses of the clients.
The mac addresses that need to be mapped.
The name of the static mapping. Max length supported is 256.
The subnet for which the DHCP server is being configured.
An information field that can be added to identify the DHCP server.
List of IP addresses for the network.
ipv6_config LanNetworkIPv6Config
The Ipv6 config of the LAN network. Maz size = 256.
The LAN config default routers.
The LAN config IPv6 prefix.
The name of the LAN network. Max size = 128.
The network context ID.
Possible values: [GLOBAL
, LOCAL
]
The scope of the network.
An information field that can be added to identify the LAN network. Maximum 10 unique tags of length 1024 each are allowed.
The vrf context id.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"id": "string",
"ipv4_config": {
"default_routers": [
"string"
],
"dhcp_relay": {
"enabled": true,
"option_82": {
"circuit_id": "string",
"enabled": true,
"reforwarding_policy": "REPLACE",
"remote_id": "string"
},
"server_ips": [
"string"
],
"source_interface": "string"
},
"dhcp_server": {
"broadcast_address": "string",
"custom_options": [
{
"option_definition": "string",
"option_value": "string"
}
],
"default_lease_time": 0,
"disabled": true,
"dns_servers": [
"string"
],
"domain_name": "string",
"gateway": "string",
"id": "string",
"ip_ranges": [
{
"end_ip": "string",
"start_ip": "string"
}
],
"max_lease_time": 0,
"network_context_id": "string",
"static_mappings": [
{
"ip_address": "string",
"mac": "string",
"name": "string"
}
],
"subnet": "string",
"tags": [
"string"
]
},
"prefixes": [
"string"
]
},
"ipv6_config": {
"default_routers": [
"string"
],
"prefixes": [
"string"
]
},
"name": "string",
"network_context_id": "string",
"scope": "GLOBAL",
"tags": [
"string"
],
"vrf_context_id": "string"
}
]
}