Solved

VRF-Lite route leaking with route-maps

Posted on 2013-01-27
1
1,452 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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
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…

744 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

15 Experts available now in Live!

Get 1:1 Help Now