CONFIG NETWORK ROUTE UPDATE

Level

route,modify

History

ipsecBypass appears in 3.7.22

Description

Update a route

Usage

remote=<remote object> [newRemote=<remote object>] [interface=(<ifname>|blackhole)] [gateway=<gateway>] [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 UPDATE remote=net-remote-1 newRemote=net-remote-2 gateway=router1 interface=in color=acc0ac comment="route updated"

Cache category clone

route