set static-route

Description

Configures an existing manually configured route rule.

Syntax

set static-route <id> [ source <source> ] [ service <service> ] [ destination <destination> ] [ nexthop gateway { logical <logical> |

ipv4-address <ipv4-address> } ] [ metric <metric> ] [ disabled <disabled> ]

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

disabled

Is rule disabled

Type: Boolean (true/false)

id

id

Type: A number with no fractional part (integer)

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

Example

set static-route 15 source 172.15.47.0/24 service TEXT destination 172.15.47.0/24 nexthop gateway logical My_Network metric 15 disabled true