routeros-ospf
Installation
SKILL.md
RouterOS OSPF
In RouterOS 7 OSPFv2 and OSPFv3 share one menu, /routing/ospf. There is no default instance and no default area: you create an
instance (one per version), add an area to it, then tell the router on which interfaces to run OSPF with an interface template.
Templates only match; /routing/ospf/interface and /routing/ospf/neighbor are read-only status.
/routing/ospf/instance/add name=v2inst version=2 router-id=10.255.0.1
/routing/ospf/area/add name=backbone area-id=0.0.0.0 instance=v2inst
/routing/ospf/interface-template/add area=backbone networks=192.168.0.0/24 type=broadcast
/routing/ospf/interface-template/add area=backbone interfaces=lo passive # advertise a loopback without hellos
/routing/ospf/neighbor/print
/routing/ospf/interface/print
/ip/route/print where ospf