add static-route
Description
Add static route monitoring.
Syntax
add static-route [ source ] [ service ] [ destination ] [ nexthop gateway monitored-ip <Monitored IP Address> {on | off} monitored-ip-option {fail-all | fail-any | off} { logical | ipv4-address } ] [ metric ] |
Parameters
Parameter |
Description |
---|---|
destination |
IP address and subnet length of the destination of the packet in the format IP/subnet e.g. 192.168.0.0/16. Type: An IP address with a mask length |
metric |
Metric Type: A number with no fractional part (integer) |
service |
Route service name Type: String |
source |
IP address and subnet length of the source of the packet in the format IP/subnet. e.g. 192.168.1.0/24 Type: An IP address with a mask length |
monitored-ip |
Remote IPv4 address to monitor for the next hop gateway. Up to three unique addresses can be added here (in separate commands). The address is followed by "on" or "off": "on" means this address is being added, while "off" removes it. |
monitored-ip-option |
The failure condition and flavor for the configured monitored IP address(es). Options:
|
Example
add static-route service HTTP nexthop gateway monitored-ip 172.15.47.0 on monitored-ip-option fail-all logical internet |