Config distribute-list command syntax pattern, Example – Fortinet 100A User Manual
Page 176

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
.
config distribute-list command syntax pattern
config distribute-list
edit
set
end
config distribute-list
edit
unset
end
config distribute-list
delete
end
config distribute-list
edit
get
end
config distribute-list
edit
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
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.