Leaking VRF loopback address to gobal routing table

Answered Question
Jun 11th, 2009


I have a router and have configured multiple VRFs. I was also able to leak routes between the global routing table and one of the VRFs (VRF data) successfully.

Now, I have not been able to leak the loopback address of the VRF data ( into the global routing table, so I can ping the VRF loopback address from the global routing table.

I have also read this article:


Has any one experienced this before?

Attached is the config



I have this problem too.
0 votes
Correct Answer by Laurent Aubert about 7 years 4 months ago

If VRF select is not supported, you can create a fake route-map and apply it to the loopback interface:

route-map FAKE

set vrf data


int loopback 0

ip policy route-map FAKE

ip vrf receive data





  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Laurent Aubert Fri, 06/12/2009 - 05:40

Hi Reza,

If you want the loopback to be seen from the VRF and the GRT, you can use the following command instead of the ip vrf forwarding:

int loopback 1

ip vrf select source

ip vrf receive data




Reza Sharifi Fri, 06/12/2009 - 06:54

Hi Laurent,

Thanks for the reply.

One of the commands (ip vrf select source) is not available (maybe I do not have the right IOS)and for the other command it asks me to enable policy routing first.

Here is the output:

Also, I am running

System image file is "flash:/c2800nm-adventerprisek9_ivs-mz.124-3g.bin"

T-1(config-if)#do sh run in lo1

Building configuration...

Current configuration : 63 bytes


interface Loopback1

ip address


T-1(config-if)#ip vrf receive data

% Need to enable Policy Based Routing on the interface first

T-1(config-if)#ip vr

T-1(config-if)#ip vrf ?

forwarding Configure forwarding table

receive Add Interface Address into VRF Table

sitemap Configure route-map for routes received from this site

T-1(config-if)#ip vrf

ip vrf

ip vrf

% Incomplete command.



This Discussion