(assumes you already generated the .lic file):

cluster1::> license auto-update enable

The NetApp License File (NLF) generator is a self-service tool on the NetApp Support Site

This 2,500+ word guide will explain everything you need to know about the legitimate process of generating and installing license files on NetApp ONTAP systems, while also clarifying why generic “generators” are a myth in modern NetApp environments.

Or use SCP:

If you prefer the CLI or are working in a restricted environment: Upload the license file to an accessible web/FTP server.