Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

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

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


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

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.



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

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..




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

you can do it by logging in your PE OSPF address family of customer and use the domain-id command.

My post can help you,kindly check for reference


shivlu jain

Hall of Fame Super Silver

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

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