You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

REST API Method: PUT /rest/staticiproute/{identifier}

Creates a static IP Route given a specific ID and values.

URL:

https://134.56.227.163/rest/staticiproute/{identifier}

HTTP Method

PUT

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
ipStaticRouteTypeNoNoEnum1Possible values:
  • 0 - ROUTE_ENTRY_DIRECT
  • 1 - ROUTE_ENTRY_INDIRECT
Specifies the route type. Only indirect route types are currently supported.
ifNameYesYesstringnone20 - Max Length Deprecated. Is the interface name for this static route.
ipDestinationAddrYesYesstringnone23 - Max Length Is the IP address of the destination host or subnet, in dotted notation. {info}If Destination IP Address field and Mask field are both set to 0.0.0.0, then the static route is called default static route.
ipDestinationMaskYesYesstringnone23 - Max Length Is the network mask of the destination host or subnet, in dotted notation. {info}If Destination IP Address field and Mask field are both set to 0.0.0.0, then the static route is called default static route.
ipNexthopAddressYesYesstringnone23 - Max Length Is the IP address of the next-hop router, in dotted notation.
ipLinkMonitorEnabledNoNoEnum0Possible values:
  • 0 - btFalse
  • 1 - btTrue
Specifies if this next-hop router is monitored by the link monitor. This field is automatically enabled when the link monitor selects this next-hop router as the gateway for monitoring.
ipStaticRouteMetricYesYesint1Possible values:
  • 1 - Minimum
  • 255 - Maximum
Is the routing cost of this route and hence indirectly specifies the preference of the route. Lower values indicate more preferred routes. Typical value is 1 for most static routes indicating that static routes are preferred to dynamic routes.

  • No labels