Fortinet 100A Router User Manual


 
176 01-28007-0068-20041203 Fortinet Inc.
config router ospf Router
Use this command to use an access list to filter the networks in routing updates.
Routes not matched by any of the distribute lists will not be advertised.
You must configure the access list that you want the distribute list to use before you
configure the distribute list. For more information on configuring access lists, see
“Access list” on page 154.
config distribute-list command syntax pattern
config distribute-list
edit <id_integer>
set <keyword> <variable>
end
config distribute-list
edit <id_integer>
unset <keyword>
end
config distribute-list
delete <id_integer>
end
config distribute-list
edit <id_integer>
get
end
config distribute-list
edit <id_integer>
show
end
Example
This example shows how to configure a distribute list numbered 2 to use an access
list named acc_list1 for all static routes.
Note: Both keywords are required.
distribute-list command keywords and variables
Keywords and
variables
Description Default Availability
access-list
<name_str>
Enter the name of the access list to use for
this distribute list.
No default. All models.
protocol
{connected | rip
| static}
Advertise only the routes discovered by the
specified protocol and that are permitted by
the named access list.
connected
All models.