Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- Example: Configuring an Interface on a Broadcast or Point-to-Point Network
- Example: Configuring an OSPFv2 Interface on a Nonbroadcast Multiaccess Network
- Example: Configuring an OSPFv2 Interface on a Point-to-Multipoint Network
- Example: Configuring OSPF Demand Circuits
- ACX, M, MX, PTX, QFX, T Series
- Example: Configuring a Passive OSPF Interface
- Example: Configuring OSPF Passive Traffic Engineering Mode
- ACX, M, MX, PTX, T Series
- Example: Configuring OSPFv2 Peer interfaces
About OSPF Interfaces
To activate OSPF on a network, you must enable the OSPF protocol on one or more interfaces on each device within the network on which traffic is to travel. How you configure the interface depends on whether the interface is connected to a broadcast or point-to-point network, a point-to-multipoint network, a nonbroadcast multiaccess (NBMA) network, or across a demand circuit.
- A broadcast interface behaves as if the routing device is connected to a LAN.
- A point-to-point interface provides a connection between a single source and a single destination (there is only one OSPF adjacency).
- A point-to-multipoint interface provides a connection between a single source and multiple destinations.
- An NBMA interface behaves in a similar fashion to a point-to-multipoint interface, but you might configure an NBMA interface to interoperate with other equipment.
- A demand circuit is a connection on which you can limit traffic based on user agreements. The demand circuit can limit bandwidth or access time based on agreements between the provider and user.
You can also configure an OSPF interface to be passive, to operate in passive traffic engineering mode, or to be a peer interface.
- A passive interface advertises its address, but does not run the OSPF protocol (adjacencies are not formed and hello packets are not generated).
- An interface operating in OSPF passive traffic engineering mode floods link address information within the autonomous system (AS) and makes it available for traffic engineering calculations.
- A peer interface can be configured for OSPFv2 routing devices. A peer interface is required for Generalized MPLS (GMPLS) to transport traffic engineering information through a link separate from the control channel. You establish this separate link by configuring a peer interface. The peer interface name must match the Link Management Protocol (LMP) peer name. A peer interface is optional for a hierarchy of RSVP label-switched paths (LSPs). After you configure the forwarding adjacency, you can configure OSPFv2 to advertise the traffic engineering properties of a forwarding adjacency to a specific peer.
Point-to-point interfaces differ from multipoint in that only one OSPF adjacency is possible. (A LAN, for instance, can have multiple addresses and can run OSPF on each subnet simultaneously.) As such, when you configure a numbered point-to-point interface to OSPF by name, multiple OSPF interfaces are created. One, which is unnumbered, is the interface on which the protocol is run. An additional OSPF interface is created for each address configured on the interface, if any, which is automatically marked as passive.
For OSPFv3, one OSPF-specific interface must be created per interface name configured under OSPFv3. OSPFv3 does not allow interfaces to be configured by IP address.
Enabling OSPF on an interface (by including the interface statement), disabling it (by including the disable statement), and not actually having OSPF run on an interface (by including the passive statement) are mutually exclusive states.
![]() | 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. In Junos OS Release 9.2 and later, you can configure OSPFv3 to support address families other than unicast IPv6. |
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- Example: Configuring an Interface on a Broadcast or Point-to-Point Network
- Example: Configuring an OSPFv2 Interface on a Nonbroadcast Multiaccess Network
- Example: Configuring an OSPFv2 Interface on a Point-to-Multipoint Network
- Example: Configuring OSPF Demand Circuits
- ACX, M, MX, PTX, QFX, T Series
- Example: Configuring a Passive OSPF Interface
- Example: Configuring OSPF Passive Traffic Engineering Mode
- ACX, M, MX, PTX, T Series
- Example: Configuring OSPFv2 Peer interfaces
Published: 2012-12-08
Supported Platforms
Related Documentation
- ACX, J, M, MX, SRX, T Series
- OSPF Configuration Overview
- ACX, M, MX, T Series
- Example: Configuring an Interface on a Broadcast or Point-to-Point Network
- Example: Configuring an OSPFv2 Interface on a Nonbroadcast Multiaccess Network
- Example: Configuring an OSPFv2 Interface on a Point-to-Multipoint Network
- Example: Configuring OSPF Demand Circuits
- ACX, M, MX, PTX, QFX, T Series
- Example: Configuring a Passive OSPF Interface
- Example: Configuring OSPF Passive Traffic Engineering Mode
- ACX, M, MX, PTX, T Series
- Example: Configuring OSPFv2 Peer interfaces