Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

interface (Protocols OSPF)

Syntax

interface interface-name {disable;authentication key <key-id identifier>;bfd-liveness-detection {authentication {algorithm algorithm-name;key-chain key-chain-name;loose-check;}detection-time {threshold milliseconds;}minimum-interval milliseconds;minimum-receive-interval milliseconds;transmit-interval {threshold milliseconds;minimum-interval milliseconds;}multiplier number;}dead-interval seconds;demand-circuit;hello-interval seconds;ipsec-sa name;interface-type type;ldp-synchronization {disable;hold-time seconds;}metric metric;neighbor address <eligible>;no-interface-state-traps;passive;poll-interval seconds;priority number;retransmit-interval seconds;te-metric metric;topology (ipv4-multicast | name) {metric metric;}transit-delay seconds;transmit-interval seconds;}

Hierarchy Level

[edit logical-systems logical-system-name protocols (ospf | ospf3) area area-id],[edit logical-systems logical-system-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols (ospf | ospf3) area area-id],[edit logical-systems logical-system-name routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id],[edit protocols (ospf | ospf3) area area-id],[edit protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id],[edit routing-instances routing-instance-name protocols (ospf | ospf3) area area-id],[edit routing-instances routing-instance-name protocols ospf3 realm (ipv4-unicast | ipv4-multicast | ipv6-multicast) area area-id]

Release Information

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.

Description

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.

Options

interface-name—Name of the interface. Specify the interface by IP address or interface name for OSPFv2, or only the interface name for OSPFv3. Using both the interface name and IP address of the same interface produces an invalid configuration. To configure all interfaces, you can specify all. Specifying a particular interface and all produces an invalid configuration.

Note: For nonbroadcast interfaces, specify the IP address of the nonbroadcast interface as interface-name.

The remaining statements are explained separately.

Note: 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.

Published: 2014-05-08

Published: 2014-05-08