HomeGuidesAPI Reference
GuidesAPI ReferenceGitHubAirheads Developer CommunityLog In
API Reference

/system/vrfs/{VRF.name}/static_routes

Path Params
string
required

Reference Resource: VRF
VRF identifier. Should be alphanumeric. VRF names must be unique.

Body Params
string
enum

Represents the address family for this entry. Default value is ipv4.

Allowed:
string
required
length ≤ 49

Reference Resource: Static_Route
IPv4 or IPv6 destination prefix and mask in the address/mask format. Example 192.168.0.0/16

static_nexthops
object

Reference Resource: Static_Nexthop
Nexthops of the static route indexed by an unique identifier. Should be empty in case of Nullroute or Reject.

string
required

Reference Resource: Static_Route
Reference to the VRF table, to which this static route belongs.

Responses
201

Created

400

Bad Request

401

Unauthorized

403

Forbidden

404

Not Found

415

Unsupported Media Type

500

Internal Server Error

501

Not Implemented

503

Service Unavailable

Language
Response
Click Try It! to start a request and see the response here!