Page Tree | ||
---|---|---|
|
...
...
...
...
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|
...
...
...
ipDestinationAddr | Yes | Yes | string | none |
---|
...
45 - Max Length | Is the IP or IPv6 address of the destination host or subnet |
...
. In dotted-decimal notation for IPv4, and colon-hex notation for IPv6.
| ||||||
ipDestinationMask | Yes | Yes | string | none | 23 - Max Length | IPv4: Is the network mask of the destination host or subnet, in dotted notation. |
---|
...
|
...
| ||||||
ipGatewayType | No | No | Enum | 0 | Possible values:
| Specifies the route type (Global/Indirect or Link Local/Direct) for this IPv6 Static Route. Note: This option only applies to IPv6 static routes. |
---|---|---|---|---|---|---|
ipNexthopAddress | Yes | Yes | string | none |
...
45 - Max Length | Is the IP or IPv6 address of the next-hop router |
...
. In dotted-decimal notation for IPv4, and colon-hex notation for IPv6. | ||||||
ifName | Yes | Yes | string | none | 20 - Max Length | Applicable to IPv6 Link Local routes only. This specifies the interface to use. |
---|---|---|---|---|---|---|
ipLinkMonitorEnabled | No | No | Enum | 0 | Possible values:
| 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. |
ipStaticRouteMetric | Yes | Yes | int | 1 | Possible values:
| 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. |
Code Block | ||
---|---|---|
| ||
curl --cookie PHPSESSID=fsqgefadjojefv6lmdtij6lh44 -s -k -i https://134.56.72.218/rest/staticiproute/1 -X PUT --data "ConfigIEState=1&ipNexthopAddress=134.56.72.5&ipDestinationAddr=0.0.0.0&ipStaticRouteType=1&ipDestinationMask=0.0.0.0&ifName=&ipLinkMonitorEnabled=0&ipStaticRouteMetric=1"
|
...
language | html/xml |
---|
...
ipAddressingMode | No | No | Enum | 0 | Possible values:
| Specifies the address mode for this Static Route. Note only IPv4 and IPv6 are valid. |
---|