The X670-G2-48X ships with Advanced Edge which means it can run static routing, RIP, and limited OSPF (no DR/BDR, point-to-point links only, limited to 4 adjacencies). AE is also limited to PIM-SM, no BSR/RP, limited adjacencies.
You can buy a "Core" license which will allow it to run full OSPF, BGP, PIM (DM/SM), etc. However, it should be noted that you will need to look at the limits section within the EXOS release notes to understand if it will scale to your application. For instance, the X670-G2 would *not* be a platform that could hold the entire internet routing table in hardware (not even close), so if you need a full-on edge/border router, that would not be the recommended platform.