The domain-id controls how routes are translated from MBGP into the OSPF database. Having different domain-ids won't stop the redistribution from happening, it'll just change how the routes are encoded. If the domain-ids match and the route was originally an Intra-Area route, it will be encoded as an Inter-Area route when redistributed from MBGP to OSPF. If the domain-ids don't match then all routes will be encoded as External when redistributed from MBGP to OSPF.
Try it both ways and then look at the output of the "show ip ospf database" and look where the route ends up on the remote PE/CE side.
Brian McGahan, CCIE #8593 (R&S/SP/Security)
bmcgahan_at_INE.com
Internetwork Expert, Inc.
http://www.INE.com
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of Tauseef Khan
Sent: Friday, January 11, 2013 11:08 AM
To: Cisco certification
Subject: ospf domain-id
Do i need to match domain id on all the PE routers connecting customer sites for mbgp routes to correctly redistributed into ospf. OR domain-id could be different on PEs as below.
Router_A
ip ospf 10 vrf CUSTOMER_A
domain-id 1.1.1.1
!
ip vrf CUSTOMER_A
rd 10:10
route-target both 10:10
RouterB
ip ospf 10 vrf CUSTOMER_A
domain-id 2.2.2.2
!
p vrf CUSTOMER_A
rd 20:20
route-target both 10:10
regards
Blogs and organic groups at http://www.ccie.net
Received on Fri Jan 11 2013 - 11:47:41 ART
This archive was generated by hypermail 2.2.0 : Sun Feb 03 2013 - 16:27:17 ART