add static-route ... nexthop gateway monitored-ip
In the R81.10.X releases, this command is available starting from the R81.10.00 version.
Description
Add static route monitoring.
|
Notes:
|
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 mask length of the destination of the packet in the format IP Address/Subnet. For example: 192.168.0.0/16 Default: 0.0.0.0/0
|
||
metric |
Specifies the route metric (integer). |
||
service |
Specifies the service name. |
||
source |
IP address and subnet mask length of the source of the packet in the format IP Address/Subnet. For example: 192.168.1.0/24 |
||
monitored-ip |
Remote server to monitor for the next hop gateway. Note - This is deprecated starting from R81.10.07. You can a maximum of three unique servers (in separate commands). The IPv4 address is followed by "
|
||
monitored-ip-option |
Note - This is deprecated starting from R81.10.07. Sets the failure condition for the configured monitored servers. Options:
|
||
monitored-server |
Note - In R81.10.07 and higher only. IP Address or Hostname - Remote server to monitor for the next hop gateway |
||
monitoring-mode |
Note - In R81.10.07 and higher only. Enables route monitoring. Options:
|
Example Commands
R81.10.07 and higher
|
R81.10.05 and lower
|
|