Solved

VRF-Lite route leaking with route-maps

Posted on 2013-01-27
1
1,480 Views
Last Modified: 2013-03-08
I have a question. I currently have 4 VRF's setup.
VRF - 1
VRF - 2
VRF - 3
VRF - 4 (Shared VRF)

Each VRF is seperate and can only see VRF 4 routes currently. I did this through the import/export on the vrf. I am currently running BGP on the switch and have eigrp for each vrf. What I am wanting to do because VRF 3 has a "shared" connection that I need VRF 1 to be able to route to and get to in the DC. I would simple just change that connection to VRF 1 but this is a shared PtP connection with multiple VRF 3 customer connections. I am wanting to know how can I use route-maps to have routes from VRF 1 imported into VRF 3 and the same for VRF 3 to VRF 1. I currently have static routes which is very time consuming.
0
Comment
Question by:chris_npion
1 Comment
 
LVL 9

Accepted Solution

by:
Sandeep Gupta earned 500 total points
ID: 38825760
You can use export map command to call any route-map in vrf like this:

ip vrf VRF1
 description vrf 1
 rd 123:12345
 export map <<route map name>>
 route-target export 123:12345
 route-target import 123:12345

example:

ip vrf VRF1
 description vrf1
 rd 123:12345
 export map VRF3_Route
 route-target export 123:12345
 route-target import 123:12345

route-map VRF3_Route permit 10
 match ip address vrf3
 set extcommunity rt  <<vrf3 rt>> additive

ip access-list extended vrf3
permit ip <<define your ip neworks to be imported>>
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now