cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
5483
Views
15
Helpful
7
Replies
kcsbalaji2013
Beginner

How can we export a VRF route into Global Routing table ?

I have a Campus Network with in one VLAN is a secured VLAN with VRF. How can i make that Users access Internet via the Global Routing table.  I was able to import the Default route into the VRF using BGP Communities but any way to advertise my VRF LAN to Global routing table ?.

thanks

Balaji

7 REPLIES 7
bolick
Cisco Employee

Hi Bakaji,

The easiest way is probably to just use a static route, but there are other options using route maps and policy routing. Here's a whitepaper that outlines a few of the options.

Configure Route Leaking between Global and VRF Routing Table without using Next-hop - Cisco

Matt

Pranay Prasoon
Participant

I think you can use import and export functionality too (import ipv4 unicast <route-map>)

Configure Route Leaking between Global and VRF Routing Table without using Next-hop - Cisco


Export command is also available  starting from IOS 15.2(4)S

Fabrizio Chessa
Beginner

Hi,

this is the starting point to import a route in GRT from VRF:

  • global-address-family ipv4 unicast
    • route-replicate from vrf ?

      •   WORD    Source VRF name

      •   global  global VRF

        HTH

        Regards

These commands works for me. The vrf addressess was inserted into globlal, now I need insert global addressess into vrfs tables

Hi, it's the same concept and you need to apply this into vrf configuration.

it's something like this:
vrf definition VRF-TEST

 address-family ipv4

  route-replicate from ....

 

in this case the global-address-family ipv4 is the default/global vrf

 

HTH

 

Regards,

Fabrizio

I did it and it worked. Thank you!

paul driver
VIP Mentor

Hello

As you have the default route in the vrf rib pointing to the global rib then all you need to do is to add another static of the vrf network and point it towards the vrf connected interface on the rtr then advertised this static via redistribution.



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future