cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8555
Views
7
Helpful
3
Replies

cisco ASR1004 error %VRF specified does not match existing router

fabio.marino
Level 1
Level 1

Hi all,

I have a problem and I really do not know the reason.

Simple scenario. I need to configure ospf into a ASR1004 router.

Here the command

 

vrf definition TEST-02
 !
 address-family ipv4
 exit-address-family
!
!
interface Loopback25
 description TEST-02

vrf forwarding TEST-02
 ip address 1.1.1.1 255.255.255.255
 ip ospf 2 area 0.0.0.1

 

As soon I am running the command  ip ospf 2 area 0.0.0.1, I got this error %VRF specified does not match existing router.

 

I configure with success other different vrf before and after this problem so I can not understand why the router is refusing this configuration.

 

Any idea?

 

Thank you.

 

Regards,

 

Fabio.

 

3 Replies 3

Hello.

Your OSPF process 2 (in global configuration mode) should be configured with vrf keyword like following:

 router ospf 2 vrf TEST-02

Levi502
Level 1
Level 1

I know this is years later but I seen this asked many times and only answered with a solution by Vasilii Mikhailovskii

or you could remove existing running ospf 2 process in global configuration, then add it under the interface as you have it.

themicgeinus
Level 1
Level 1

Another simple solution that worked for me, is reloading the router and tried the command again