config router : config router setting
 
config router setting
Use this command to change basic routing settings. However, the default settings are recommended for most deployments.
Before you begin:
You must have read-write permission for system settings.
Syntax
config router setting
set ip-forward {enable | disable}
set ip6-forward {enable | disable}
set rt-cache-reverse {enable | disable}
set rt-cache-strict {enable | disable}
end
ip-forward
Enabled by default. Do not disable under normal circumstances.
If disabled, functions related to routing, like link loadbalancing, static routing, policy routing, and OSPF routing cannot function.
ip6-forward
Enabled by default. Do not disable under normal circumstances.
If disabled, functions related to routing, like link loadbalancing, static routing, policy routing, and OSPF routing cannot function.
rt-cache-reverse
When enabled, forwards reply packets to the ISP link that forwarded the corresponding request packet.
When not enabled, forwards all packets based on the results of routing lookup.
The rt-cache-reverse function is useful when your site gets trafic routed to it from multiple ISP links.
Enabled by default.
rt-cache-strict
Enable it when you want to send reply packets only via the same interface that received the request packets. When enabled, source interface becomes part of the matching tuple FortiADC uses to identify sessions, so reply traffic is forwarded from the same interface that received the traffic. Normally each session is identified by a 5-tuple: source IP, destination IP, protocol, source port, and destination port.
Disabled by default.
Example
FortiADC-VM # get router setting
rt-cache-strict : disable
rt-cache-reverse : enable
ip-forward : enable
ip6-forward : enable