CONFIG NETWORK ROUTE ADD

Level

route+modify

History

Appears in 6.0.0
option remote=default removed in 9.0.0
state appears in 9.1.0

Description

Add an IPv4 static route

Usage

remote=<remote object> interface=<ifname> [gateway=<gateway>] [color=<color>] [comment=<comment>] [state=(0|1)]

Returns

Error code

Example

CONFIG NETWORK ROUTE ADD remote=net-remote-1 gateway=router1 interface=in color=acc0ac comment="route to remote network 1" CACHE_CATEGORY_CLONE route