OSPF Domain-id mismatch in Inter-AS MPLS VPN Scenario

Unanswered Question
Jan 27th, 2009
User Badges:

Hi All,

I am facing a problem in matching the Domain-Id .The scenario is like ,we are providing a Inter-AS MPLS VPN to a customer.The routing protocol used between PE & CE is OSPF.One of the AS is using Cisco Devices & Another using the Huawei Routers.

Cisco has a format of

domain-id type 0105 value 00000C890000

but huawei is having a different format

domain-id ..... only, there is no type value.

After using only domain-id command ,we are not able to provide customer with interarea routes,rather than customer is gettting E2 Type routes

How to avoid this situation, is ther any alternate idea to provide OIA routes.

Please help

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Mohamed Sobair Thu, 01/29/2009 - 13:24
User Badges:
  • Gold, 750 points or more

The functionality of OSPF (Domain-id) in the LSA header to prevent Ospf routing loop. What do u mean by Customer having E2 routes instead of IA route? If you mean to correct a VPN customer Share OSPF backdoor link, then a Sham-link has to be configured.



Mohamed Sobair Thu, 01/29/2009 - 19:39
User Badges:
  • Gold, 750 points or more

Forgot, Actually the (Down-bit) in the LSA header provides loop prevention in OSPF not a (Domain-id).

The Inter-AS MPLS VPN, has no customer Concern, Its a solution for Connecting Differnet MPLS-VPN Providers ASs.

Pls be more specific in ur question..



Giuseppe Larosa Fri, 01/30/2009 - 12:28
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Iftekhar,

as explained by Shivlu you should be able to emulate Huawei OSPF domain-id.

As explained in RFC 4577 the OSPF domain-id is a 8 bytes quantity expressed as 16 hexadecimal digits.


The following example shows how to change the OSPF domain ID using the domain-id command where the primary domain ID is a valid IP address and the secondary domain ID is a valid hexadecimal value:

code first two bytes in type and last 6 bytes in value.

Router(config)# router ospf 100 vrf abcd

Router(config-router)# domain-id

Router(config-router)# domain-id type 0005 value CAFECAFECAFE secondary


Hope to help



This Discussion