Technical Documentation

interface

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>;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 Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Support for the topology statement introduced in JUNOS Release 9.0.

Support for the topology statement introduced in JUNOS Release 9.0 for EX Series switches.

Support for the realm statement introduced in JUNOS Release 9.2.

Support for the realm statement introduced in JUNOS Release 9.2 for EX Series switches.

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. For details about specifying interfaces, see interface naming in the JUNOS Network Interfaces Configuration Guide.

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: 2010-04-14