OSPF
Quiz: https://networkdirection.net/labsandquizzes/quizzes/juniper-jncia/ospf
Lab: https://networkdirection.net/labsandquizzes/labs/jncia-labs/ospf
Notes
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.
Command Summary
Command | Mode | Description |
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) |