Configure the router as an autonomous system boundary router (ASBR).
default ip ospf as-boundary-router enable
ip ospf as-boundary-router enable
no ip ospf as-boundary-router enable
The default is disabled.
VRF Router Configuration