OSPF configuration is under the Protocols > OSPF hierarchy. Most of the configuration is then under the ‘area’.
Interfaces added under the area begin to ‘participate’, meaning that their networks are advertised into OSPF, and they start peering with connected routers.
If an interface is configured as passive, its network will be advertised, but it will not peer with connected routers.
In Junos, the Router-ID is configured globally, not for individual protocols as is the case on a Cisco router.
|set routing-options router-id||Configuration||Set the router ID|
|set protocols ospf area 0 interface||Configuration||Add an interface to an area|
|show ospf neighbor||Operational||See neighbours and their state (eg, 2WAY, EXSTART, FULL, etc)|