The OSPF domain identifier attribute uniquely identifies the OSPF domain from which a route was redistributed into MP-BGP.
You must configure an OSPF domain ID for the VRFs on the PE router with the domain-id command. All VRFs that belong to a given OSPF domain must be configured with the same domain ID. If not configured, the domain ID defaults to zero. If you configure a value of zero, MP-BGP does not attach an OSPF domain identifier attribute.
If the OSPF domain ID for the destination PE router differs from the originating PE router, MP-BGP redistributes the route into OSPF as an OSPF type 5 external route.