33 distance ospf, 34 distribute-list out – Fortinet 548B User Manual

Page 460

Advertising
background image

- 460 -

Default Setting

None

Command Mode

Router OSPF Config Mode

8.3.2.33 distance ospf

distance ospf command sets the route preference value of OSPF in the router. Lower route preference
values are preferred when determining the best route. The type of OSPF route can be intra, inter, or
external. All the external type routes are given the same preference value. The range of <preference>
value is 1 to 255. no distance ospf command sets the default route preference value of OSPF routes in
the router. The type of OSPF can be intra, inter, or external. All the external type routes are given the
same preference value.

Syntax

distance ospf {intra-area <1-255> | inter-area <1-255> | external <1-255>}
no distance ospf {intra-area | inter-area | external}

Default Setting

110

Command Mode

Router OSPF Config Mode

8.3.2.34 distribute-list out

Use distribute-list out command to specify the access list to filter routes received from the source
protocol.

no distribute-list ou command to specify the access list to filter routes received from the source
protocol.

Syntax

distribute-list <1-199> out {rip | bgp | static | connected}
no distribute-list <1-199> out {rip | bgp | static | connected}

Default Setting

None

Command Mode

Router OSPF Config Mode

Advertising