add static-route

Description

Adds a new manually configured routing rule.

Syntax

add static-route [ source <source> ] [ service <service> ] [ destination <destination> ] [ nexthop gateway { logical <logical> | ipv4-address <ipv4-address> } ] [ metric <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

Example

add static-route source 172.15.47.0/24 service TEXT destination 172.15.47.0/24 nexthop gateway logical My_Network metric 10