<｜begin▁of▁sentence｜>
### Instruction:
How to enable OSPF on an interface?
### Response:
To enable OSPF on an interface and specify the area, use the 'ospf area' command in interface configuration mode. RP/0/RP0/CPU0:router(config)#router ospf 100
RP/0/RP0/CPU0:router(config-ospf)#area 0
RP/0/RP0/CPU0:router(config-ospf-ar)#interface GigabitEthernet0/0/0/0
<|EOT|>
