Get Static Routes (v2.3)
GET/v2.3/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/staticroutes
List all the static routes.
Request
Path Parameters
ID of the tenant.
The ID of the site.
The ID of the element.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
The actual count.
The ID.
The tenant ID.
items StaticRouteV2N3[]
The static route address family.
The description of the static route. Max size = 256.
The IPv4 or IPv6 address mask for next hop Destination Prefix (IPv4 or IPv6).
The ID of the static route.
The name of the static route.
The ID of the network context.
The Next Hop Reachability Probe is enabled.
nexthops NextHop[]required
The details of the next hops configured on the static route.
The admin distance for a specific route. The default value for admin distance is 1.
The next hop interface ID.
The next hop IPv4 address.
Set to True to indicate that traffic is destined for the ION device. By default, Self is set to False.
Possible values: [GLOBAL
, LOCAL
]
The scope of the static route = Local or Global. If scope is local, the device does not advertise the route to other sites and if scope is global, the device advertises the route to other sites.
A information field that can be added to identify the static route. Maximum 10 unique tags of length 1024 each are allowed.
The VRF (Virtual Routing and Forwarding) ID.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"address_family": "string",
"destination_prefix": "string",
"id": "string",
"name": "string",
"network_context_id": "string",
"nexthop_reachability_probe": true,
"nexthops": [
{
"admin_distance": 0,
"nexthop_interface_id": "string",
"nexthop_ip": "string",
"self": true
}
],
"scope": "GLOBAL",
"tags": [
"string"
],
"vrf_context_id": "string"
}
]
}