|
Parameter | Presence | Type | Default | Description | |
---|---|---|---|---|---|
destinationIpAddress | M | ip-address | The destination IP address. | ||
prefix | M | uint32 | The IP prefix length for this static route entry. | ||
nextHop | M | ip-address | The address of the next hop system enroute to the destination. | ||
ipInterfaceGroupName | M | reference | The name of the IP interface group for this entry. | ||
ipInterfaceName | M | reference | The name of the IP interface for this entry. | ||
preference | O | int32 | 100 | The route preference value. (Lower values indicate better preference.) | |
condition | O |
REST API: GET Example |
---|
curl -kisu 'admin:secret' -X GET https://{SBX-SERVER}/api/config/addressContext/{name}/staticRoute/{destinationIpAddress},{prefix},{nextHop},{ipInterfaceGroupName},{ipInterfaceName} |
REST API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/vnd.yang.data+xml' https://{SBX-SERVER}/api/config/addressContext/{name} --data ' |
REST API: DELETE Example |
---|
curl -kisu 'admin:secret' -X DELETE https://{SBX-SERVER}/api/config/addressContext/{name}/staticRoute/{destinationIpAddress},{prefix},{nextHop},{ipInterfaceGroupName},{ipInterfaceName} |