config router static
Description: Configure IPv4 static routing tables.
edit <seq-num>
set status [enable|disable]
set dst {ipv4-classnet}
set src {ipv4-classnet}
set gateway {ipv4-address}
set distance {integer}
set weight {integer}
set priority {integer}
set device {string}
set comment {var-string}
set blackhole [enable|disable]
set dynamic-gateway [enable|disable]
set sdwan [enable|disable]
set dstaddr {string}
set internet-service {integer}
set internet-service-custom {string}
set link-monitor-exempt [enable|disable]
set vrf {integer}
set bfd [enable|disable]
next
end
Parameter Name | Description | Type | Size |
---|---|---|---|
status | Enable/disable this static route. enable: Enable static route. disable: Disable static route. |
option | - |
dst | Destination IP and mask for this route. | ipv4-classnet | Not Specified |
src | Source prefix for this route. | ipv4-classnet | Not Specified |
gateway | Gateway IP for this route. | ipv4-address | Not Specified |
distance | Administrative distance (1 - 255). | integer | Minimum value: 1 Maximum value: 255 |
weight | Administrative weight (0 - 255). | integer | Minimum value: 0 Maximum value: 255 |
priority | Administrative priority (0 - 65535). | integer | Minimum value: 0 Maximum value: 65535 |
device | Gateway out interface or tunnel. | string | Maximum length: 35 |
comment | Optional comments. | var-string | Maximum length: 255 |
blackhole | Enable/disable black hole. enable: Enable black hole. disable: Disable black hole. |
option | - |
dynamic-gateway | Enable use of dynamic gateway retrieved from a DHCP or PPP server. enable: Enable dynamic gateway. disable: Disable dynamic gateway. |
option | - |
sdwan | Enable/disable egress through SD-WAN. enable: Enable SD-WAN access. disable: Disable SD-WAN access. |
option | - |
dstaddr | Name of firewall address or address group. | string | Maximum length: 79 |
internet-service | Application ID in the Internet service database. | integer | Minimum value: 0 Maximum value: 4294967295 |
internet-service-custom | Application name in the Internet service custom database. | string | Maximum length: 64 |
link-monitor-exempt | Enable/disable withdrawal of this static route when link monitor or health check is down. enable: Keep this static route when link monitor or health check is down. disable: Withdraw this static route when link monitor or health check is down. (default) |
option | - |
vrf | Virtual Routing Forwarding ID. | integer | Minimum value: 0 Maximum value: 31 |
bfd | Enable/disable Bidirectional Forwarding Detection (BFD). enable: Enable Bidirectional Forwarding Detection (BFD). disable: Disable Bidirectional Forwarding Detection (BFD). |
option | - |
config router static
Description: Configure IPv4 static routing tables.
edit <seq-num>
set status [enable|disable]
set dst {ipv4-classnet}
set src {ipv4-classnet}
set gateway {ipv4-address}
set distance {integer}
set weight {integer}
set priority {integer}
set device {string}
set comment {var-string}
set blackhole [enable|disable]
set dynamic-gateway [enable|disable]
set sdwan [enable|disable]
set dstaddr {string}
set internet-service {integer}
set internet-service-custom {string}
set link-monitor-exempt [enable|disable]
set vrf {integer}
set bfd [enable|disable]
next
end
Parameter Name | Description | Type | Size |
---|---|---|---|
status | Enable/disable this static route. enable: Enable static route. disable: Disable static route. |
option | - |
dst | Destination IP and mask for this route. | ipv4-classnet | Not Specified |
src | Source prefix for this route. | ipv4-classnet | Not Specified |
gateway | Gateway IP for this route. | ipv4-address | Not Specified |
distance | Administrative distance (1 - 255). | integer | Minimum value: 1 Maximum value: 255 |
weight | Administrative weight (0 - 255). | integer | Minimum value: 0 Maximum value: 255 |
priority | Administrative priority (0 - 65535). | integer | Minimum value: 0 Maximum value: 65535 |
device | Gateway out interface or tunnel. | string | Maximum length: 35 |
comment | Optional comments. | var-string | Maximum length: 255 |
blackhole | Enable/disable black hole. enable: Enable black hole. disable: Disable black hole. |
option | - |
dynamic-gateway | Enable use of dynamic gateway retrieved from a DHCP or PPP server. enable: Enable dynamic gateway. disable: Disable dynamic gateway. |
option | - |
sdwan | Enable/disable egress through SD-WAN. enable: Enable SD-WAN access. disable: Disable SD-WAN access. |
option | - |
dstaddr | Name of firewall address or address group. | string | Maximum length: 79 |
internet-service | Application ID in the Internet service database. | integer | Minimum value: 0 Maximum value: 4294967295 |
internet-service-custom | Application name in the Internet service custom database. | string | Maximum length: 64 |
link-monitor-exempt | Enable/disable withdrawal of this static route when link monitor or health check is down. enable: Keep this static route when link monitor or health check is down. disable: Withdraw this static route when link monitor or health check is down. (default) |
option | - |
vrf | Virtual Routing Forwarding ID. | integer | Minimum value: 0 Maximum value: 31 |
bfd | Enable/disable Bidirectional Forwarding Detection (BFD). enable: Enable Bidirectional Forwarding Detection (BFD). disable: Disable Bidirectional Forwarding Detection (BFD). |
option | - |