30 distance ospf, 31 enable – Fortinet 548B User Manual
Page 593
- 593 -
10.4.2.30 distance ospf
This 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 can be intra, inter, type-1, or type-2. The
OSPF specification (RFC 2328) requires that preferences must be given to the routes learned via OSPF
in the following order: intra < inter < type-1 < type-2. The
preference of 255 cannot be used to forward traffic.
Syntax
distance ospf {intra | inter | type1 | type2}
no distance ospf {intra | inter | type1 | type2}
3 to 254. The range for type2 is 4 to 255.
no - This command sets the default route preference value of OSPF in the router.
Default Setting
Intra is 8.
Inter is 10.
Type 1 is 13.
Type 2 is 150.
Command Mode
Router OSPFv3 Config
10.4.2.31 enable
This command resets the default administrative mode of OSPF in the router (active).
Syntax
enable
no enable
Default Setting
Enabled
Command Mode
Router OSPFv3 Config