[Contents] [Prev] [Next] [Index] [Report an Error]

Minimum OSPF Configuration

You must create a backbone area if your network consists of multiple areas. An area border router (ABR) must have at least one interface in the backbone area, or it must have a virtual link to a router in the backbone area. To do this, include at least the following statements. All other OSPF configuration statements are optional.

protocols {
(ospf | ospf3 ) {
area 0 {
interface interface-name;
}
}
}

For a list of hierarchy levels at which you can configure these statements, see the statement summary sections for these statements.

 

Note: When you configure OSPFv2 on an interface, you must also include the family inet statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level. When you configure OSPFv3 on an interface, you must also include the family inet6 statement at the [edit interfaces interface-name unit logical-unit-number] hierarchy level. For more information about the family inet statement, see the JUNOS Network Interfaces Configuration Guide.

Note: OSPFv3 does not support routing instances.


[Contents] [Prev] [Next] [Index] [Report an Error]