interface (Protocols OSPF)
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Support for the topology statement introduced in Junos OS Release 9.0.
Support for the topology statement introduced in Junos OS Release 9.0 for EX Series switches.
Support for the realm statement introduced in Junos OS Release 9.2.
Support for the realm statement introduced in Junos OS Release 9.2 for EX Series switches.
Support for the no-interface-state-traps statement introduced in Junos OS Release 10.3. This statement is supported only for OSPFv2.
Statement introduced in Junos OS Release 11.3 for the QFX Series.
Enable OSPF routing on a routing device interface.
You must include at least one interface statement in the configuration to enable OSPF on the routing device.
For nonbroadcast interfaces, specify the IP address of the nonbroadcast interface as interface-name.
If you disable the virtual link by including the disable statement at the [edit protocols ospf area area-id virtual-link neighbor-id router-id transit-area area-id] hierarchy level, you disable the virtual link for all topologies, including the default topology. You cannot disable the virtual link only in the default topology.
LDP synchronization is supported only on point-to-point interfaces and LAN interfaces configured as point-to-point interfaces under OSPF. LDP synchronization is not supported during graceful restart. To advertise the maximum cost metric until LDP is operational for LDP synchronization, include the ldp-synchronization statement.
When an interface has been in the holddown state for more than 3 minutes, a system log message with a warning level is sent. This message appears in both the messages file and the trace file.
address—IP address of a neighboring router.
eligible—(Optional) Allow the neighbor to become a designated router. If you omit this option, the neighbor is not considered eligible to become a designated router.
The no-interface-state-traps statement is supported only for OSPFv2.
This feature is not supported for the OSPF IPv4 multicast topology or for the OSPFv3 IPv4 multicast or IPv6 multicast topologies because node-link protection creates alternate next-hop paths only for unicast routes.
The value number is the device’s priority for becoming the designated router. A priority value of 0 means that the routing device never becomes the designated router. A value of 1 means that the routing device has the least chance of becoming a designated router. The range is 0 through 255, and the default is 128.
You must configure LSA retransmit intervals to be equal to or greater than 3 seconds to avoid triggering a retransmit trap, because Junos OS delays LSA acknowledgments by up to 2 seconds.
You should never have to modify the transit delay time.
The remaining statements are explained separately. See CLI Explorer.
You cannot run both OSPF and ethernet-tcc encapsulation between two Juniper Networks routing devices.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.