router : rip : config router rip
 
config router rip
Use this command to specify RIP operating parameters.
All fields are optional.
Variable
Description
Default
default-information-originate {enable | disable}
Enter enable to advertise a default static route into RIP.
disable
default-metric <metric_integer>
For non-default routes in the static routing table and directly connected networks the default metric is the metric that the FortiGate unit advertises to adjacent routers. This metric is added to the metrics of learned routes. The default metric can be a number from 1 to 16.
1
garbage-timer <timer_integer>
The time in seconds that must elapse after the timeout interval for a route expires, before RIP deletes the route. If RIP receives an update for the route after the timeout timer expires but before the garbage timer expires then the entry is switched back to reachable.
RIP timer defaults are effective in most configurations. All routers and access servers in the network should have the same RIP timer settings.
The update timer interval can not be larger than the garbage timer interval.
120
passive-interface <name_str>
Block RIP broadcasts on the specified interface. You can use “config neighbor” and the passive interface command to allow RIP to send unicast updates to the specified neighbor while blocking broadcast updates on the specified interface.
No default.
timeout-timer <timer_integer>
The time interval in seconds after which a route is declared unreachable. The route is removed from the routing table. RIP holds the route until the garbage timer expires and then deletes the route. If RIP receives an update for the route before the timeout timer expires, then the timeout-timer is restarted. If RIP receives an update for the route after the timeout timer expires but before the garbage timer expires then the entry is switched back to reachable. The value of the timeout timer should be at least three times the value of the update timer.
RIP timer defaults are effective in most configurations. All routers and access servers in the network should have the same RIP timer settings.
The update timer interval can not be larger than the timeout timer interval.
180
update-timer <timer_integer>
The time interval in seconds between RIP updates.
RIP timer defaults are effective in most configurations. All routers and access servers in the network should have the same RIP timer settings.
The update timer interval can not be larger than timeout or garbage timer intervals.
30
version {1 2}
Enable sending and receiving RIP version 1 packets, RIP version 2 packets, or both for all RIP‑enabled interfaces. You can override this setting on a per interface basis using the receive-version {1 2}and send-version {1 2} fields described under “config interface”.
2
Example
This example shows how to enable the advertising of a default static route into RIP, enable the sending and receiving of RIP version 1 packets, and raise the preference of local routes in the static routing table (the default metric) from the default of 1 to 5 - those routes well be less preferred.
config router rip
set default-information-originate enable
set version 1
set default-metric 5
end