Solved

VRF-Lite route leaking with route-maps

Posted on 2013-01-27
1
1,592 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are thinking of adopting cloud services, or just curious as to what ‘the cloud’ can offer then the leader according to Gartner for Infrastructure as a Service (IaaS) is Amazon Web Services (AWS).  When I started using AWS I was completely new…
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…

751 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