router : rip : config offset-list
 
config offset-list
Use this subcommand to add the specified offset to the metric (hop count) of a route from the offset list. The access-list, direction, and offset fields are required. All other fields are optional.
Variable
Description
Default
edit <offset_list_id>
Enter an ID number for the offset list. The number must be an integer.
No default.
access-list <name_str>
Enter the name of the access list to use for this offset list. The access list is used to determine which routes to add the metric to. For more information, see router access-list, access-list6.
Null
direction {in | out}
Enter in to apply the specified offset to the metrics of routes originating on other routers—incoming routes.
Enter out to apply the specified offset to the metrics of routes leaving from the FortiGate unit—outgoing routes.
out
interface <name_str>
Enter the name of the interface to match for this offset list.
Null
offset <metric_integer>
Enter the offset number to add to the metric. The metric is the hop count. The metric_integer range is from 1 to 16, with 16 being unreachable.
For example if a route has already has a metric of 5, an offset of 10 will increase the metric to 15 for that route.
0
status {enable | disable}
Enable or disable this offset list.
disable
Example
This example shows how to configure and enable offset list ID number 5. This offset list entry adds a metric of 3 to incoming routes that match the access list named acc_list1 on the external interface.
config router rip
config offset-list
edit 5
set access-list acc_list1
set direction in
set interface external
set offset 3
set status enable
end
end