OSPFv2/OSPFv3 Configuration on Nokia SR OS
OSPFv2/OSPFv3 Configuration on Nokia SR OS
This domain tests practical CLI: where the instance, area and interface live, and how OSPFv3 differs from OSPFv2 in SR OS.
Core structure
- OSPFv2 lives under
configure router ospf; OSPFv3 lives underconfigure router ospf3in the same router context. - The area is created implicitly by referencing it; interfaces are bound by name to a router interface that already has an IP address and is up.
- Per-interface settings that matter:
interface-type point-to-point,metric,hello-interval,dead-interval, authentication andbfd-enable. - OSPFv3 uses IPv6 link-local addressing for adjacencies; the interface must have IPv6 enabled and an address, but the adjacency forms over link-local.
Worked example
configure router
router-id 10.0.0.1
ospf
area 0.0.0.0
interface "to-r2"
interface-type point-to-point
metric 10
hello-interval 3
dead-interval 9
exit
exit
no shutdown
The matching OSPFv3 stanza uses ospf3 and the same area/interface names. If the adjacency does not form, first confirm the router interface is up and addressed, then check that the area type and timers match on the far side.
Traps that cost marks
- Creating an OSPF interface name that does not match an existing router interface.
- Leaving the instance shutdown after configuration.
- Mixing OSPFv2 and OSPFv3 expectations: they are separate instances with separate LSDBs.
- Changing hello without changing dead, so timers no longer match the neighbour.