For startup OSPF needs a process ID. This could be confusing. This is not at all an autonomous system number or anything else. It’s just the ID of the OSPF process running in the memory of the router.
router ospf [process id]
for example:
router ospf 1
Cisco allows more than one ospf process on the router. So you can define more than one OSPF process.
Most of the OSPF commands are configured under the „router“ command. Some are configured on the „interface“ itself. For example interface cost.
The basic network definition has three parameters:
network ip add wildcard-mask area area-number