Router
FortiGate-5000 series Administration Guide
config redistribute
Access the config redistribute subcommand using the config router
ospf command.
Use the config redistribute command to advertise routes learned from RIP,
static routes, or a direct connection to the destination network.
config redistribute command syntax pattern
config redistribute {connected | static | rip}
set <keyword> <variable>
end
config redistribute {connected | static | rip}
unset <keyword>
end
get router ospf
show router ospf
redistribute command keywords and variables
Keywords and variables Description
metric
<metric_integer>
metric-type {1 | 2} Specify the external link type to be used
routemap <name_str> Enter the name of the route map to use
status {disable |
enable}
tag <tag_integer>
Example
This example shows how to enable route redistribution from RIP, using a metric of 3
and a route map named rtmp2.
config router ospf
config redistribute rip
end
This example shows how to display the OSPF settings.
get router ospf
01-28008-0013-20050204
Enter the metric to be used for the
redistributed routes. The
metric_integer range is from 1 to
16777214.
for the redistributed routes.
for the redistributed routes. For
information on how to configure route
maps, see
"Route-map list" on page
Enable or disable redistributing routes.
Specify a tag for redistributed routes.
The valid range for tag_integer is 0 to
4294967295.
set metric 3
set routemap rtmp2
set status enable
end
CLI configuration
Default
Availability
All models.
10
All models.
2
All models.
null
167.
disable All models.
All models.
0
195