Solved

VRF-Lite route leaking with route-maps

Posted on 2013-01-27
1
1,569 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

Industry Leaders: 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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
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…

685 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