ospf-instance
Syntax
ospf-instance igpinstance- name{ ... }
Hierarchy Level
[edit logical-systems logical-system-name protocols], [edit logical-systems logical-system-name routing-instances routing-instance-name protocols], [edit protocols]
Description
Enable multiple IGP instances of OSPFv2 routing on the routing device. The OSPFv2 IGP instance is associated with the default routing-instance and the default RIB. An OSPFv2 IGP instance exports routes installed in the RIB by another OSPFv2 IGP instance using standard Junos OS routing policy configuration. By default, the routes installed by different OSPFv2 IGP instances have the same route preference.
All the configuration options available under the [edit protocols
ospf-instance igpinstance-name]
hierarchy level are similar
to the options available under the [edit protocols ospf]
hierarchy level.
The ospf-instance
configuration statement is not
supported at the [edit routing-instances
routing-instance-name
protocols
] hierarchy level.
Junos OS does not support configuring the same logical interface in multiple IGP instances of OSPFv2.
Default
OSPF is disabled on the routing device.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 24.2R1.