CONFIG NETWORK ROUTE ADD
Level
route,modify
History
Appears in Netasq 6.0.0
option remote=default removed in Netasq 9.0.0
state appears in Netasq 9.1.0
ipsecBypass appears in 3.7.22
gateway=blackhole appears in 4.8.0
Description
Add an IPv4 static route
Usage
remote=<remote object> [interface=(<ifname>|blackhole)] [gateway=(<gateway>|blackhole)] [color=<color>] [comment=<comment>] [state=(0|1)] [ipsecBypass=(0|1)]
ipsecBypass=1 : the destination network of the static route takes part in the IPSEC local bypass if enabled in VPN slot (default: ipsecBypass=0)
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