Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
VIP Super Bronze

Leaking VRF loopback address to gobal routing table

Hi,

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 (1.1.1.1) into the global routing table, so I can ping the VRF loopback address from the global routing table.

I have also read this article:

http://www.cisco.com/en/US/tech/tk436/tk832/technologies_configuration_example09186a0080231a3e.shtml

Has any one experienced this before?

Attached is the config

Thanks,

Reza

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Leaking VRF loopback address to gobal routing table

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

!

http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_vpn_vrf_select_rt_ps6441_TSD_Products_Configuration_Guide_Chapter.html

HTH

Laurent.

4 REPLIES
Cisco Employee

Re: Leaking VRF loopback address to gobal routing table

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

!

HTH

Laurent.

VIP Super Bronze

Re: Leaking VRF loopback address to gobal routing table

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 1.1.1.1 255.255.255.255

end

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.

T-1(config-if)#

Cisco Employee

Re: Leaking VRF loopback address to gobal routing table

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

!

http://www.cisco.com/en/US/docs/ios/mpls/configuration/guide/mp_vpn_vrf_select_rt_ps6441_TSD_Products_Configuration_Guide_Chapter.html

HTH

Laurent.

VIP Super Bronze

Re: Leaking VRF loopback address to gobal routing table

Laurent,

I just tested this

It works very well

Thanks for your help

Reza

11144
Views
11
Helpful
4
Replies
CreatePlease to create content