CONFIG NETWORK ROUTE UPDATE
Level
route,modify
History
ipsecBypass appears in 3.7.22
gateway=blackhole appears in 4.8.0
newRemote removed in 5.1.0
position and newPosition appears in 5.1.0
Description
Update a route
Usage
position=<position> [newPosition=<position>] [remote=<remote object>] [interface=<ifname>] [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 UPDATE position=42 remote=net-remote-2 gateway=router1 interface=in color=acc0ac comment="route updated"
Cache category clone
route