NetBase
Tutorials

Configuring OSPF in NetBase: Design the Fabric, Push with Confidence

The NetBase team 7 min

OSPF is one of those protocols where the hard part isn’t the CLI — it’s making sure the right interfaces are in the right areas with the right timers and the right authentication. In a terminal you find out about a mistake when an adjacency refuses to come up. In NetBase you find out while you’re still filling in the fields, because the editor validates the design before it ever renders an router ospf … line.

This guide walks through a full OSPFv2 setup in NetBase, calls out where OSPFv3 diverges, and shows how the deploy review modal keeps a live network safe.

Prerequisites

Prerequisites

Step 1: Open the OSPF tab

Step 1: Open the OSPF tab

Inside /components/router, click OSPF in the section strip. NetBase exposes two buttons:

Pick OSPFv2 for now. A card appears with every OSPF knob on a single scrollable panel.

Step 2: Fill in the basics

Step 2: Fill in the basics

The Basic fields in an OSPF card:

Step 3: Pick the interfaces

Step 3: Pick the interfaces

OSPF lives or dies on the interface list. NetBase splits this into three multi-selects so there’s no ambiguity about which interfaces do what:

All three dropdowns list every port that’s configured in the Interfaces tab of this device — so you never end up with a typo pointing at an interface that doesn’t exist.

Below them are three toggles that cover the most common corner cases:

Step 4: Add networks and redistribution entries

Step 4: Add networks and redistribution entries

The classic network … area … statements go under Add Network advertisement. Each one is a simple IP + wildcard pair — NetBase normalises whichever form you type and lets you re-use it in other protocols’ redistribution dropdowns.

Add redistribution creates a card where you pick:

Step 5: Preview the generated IOS config

Step 5: Preview the generated IOS config

Click Show config on the OSPF card. NetBase renders exactly what will be pushed:

router ospf 10
 router-id 10.0.0.1
 network 10.10.0.0 0.0.0.255 area 0
 network 192.0.2.0 0.0.0.3 area 10
 passive-interface default
 no passive-interface GigabitEthernet0/0
 redistribute static subnets
 redistribute connected subnets
!
interface GigabitEthernet0/0
 ip ospf priority 50
 ip ospf hello-interval 5
 ip ospf dead-interval 20

The Copy config button dumps it to the clipboard so you can paste into a change ticket or a code review. Every field update re-renders the preview live — there’s no “save” button on this panel.

Step 6: OSPFv3 — same editor, different syntax

Step 6: OSPFv3 — same editor, different syntax

If you added an OSPFv3 card instead, the fields are mostly the same but with one extra:

The generated config wraps everything inside router ospfv3 <pid> with address-family ipv4 unicast / address-family ipv6 unicast blocks.

Step 7: Deploy with the review modal

Step 7: Deploy with the review modal

Click Deploy in the top-right of the editor. NetBase opens the review modal with two tabs:

Every deploy runs in merge mode: NetBase only adds the lines the device is missing. If the device already had an router ospf 10 block from a previous manual change, it’s untouched unless your diff explicitly says otherwise. No surprises.

Click Deploy in the modal and a job queues on the connector. The Deployments panel streams back the logs in real time and archives the pre-deploy running-config on the device’s history page so you can rollback in one click.

Verifying

Verifying

After a successful deploy, run the usual checks on the device:

show ip ospf neighbor
show ip ospf interface brief
show ip route ospf

You should see your neighbours in FULL and every network you advertised in the route table. If not, the most common culprits are a timer / area mismatch (NetBase’s Show-config button is the fastest way to diff both sides) or a forgotten passive-interface default.

Tips

Tips

OSPF is still OSPF — the protocol rules haven’t changed. What’s different is that the fields on the card, the generated IOS, and the eventual deploy all stay in lockstep, with a diff against the live device right before you press the button.

Back to blog