Routing

network <ip> <wildcard> area <id>

Enable OSPF on every interface whose IP matches. Wildcard = inverted mask.

Works on: RouterMode: router

Example

R1(config-router)# network 10.0.0.0 0.0.0.255 area 0
Watch out

Backbone area is 0. All other areas must connect to area 0.

Run this command live

Don't just read it — type network <ip> <wildcard> area <id> in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "network <ip> <wildcard> area <id>" command do?

Enable OSPF on every interface whose IP matches. Wildcard = inverted mask.

What's the common gotcha with "network <ip> <wildcard> area <id>"?

Backbone area is 0. All other areas must connect to area 0.

Example of "network <ip> <wildcard> area <id>"

R1(config-router)# network 10.0.0.0 0.0.0.255 area 0

More Routing commands

← Back to the full command reference

network <ip> <wildcard> area <id> — network CLI command reference · NetForge-AI