If the interface on which you are configuring OSPF supports broadcast mode (such as a LAN), or if the interface supports point-to-point mode (such as a PPP interface or a point-to-point logical interface on Frame Relay), include the following form of the interface statement:
- (ospf | ospf3) {
-
- area area-id {
-
interface interface-name;
- }
- }
For a list of hierarchy levels at which you can configure this statement, see the statement summary section for this statement.
Specify the interface by IP address or interface name for OSPFv2, or only the interface name for OSPFv3. Beginning with JUNOS Release 9.3, an OSPF point-to-point interface supports an Ethernet interface without a subnet. For more information about interface names, see the JUNOS Network Interfaces Configuration Guide.