cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1026
Views
0
Helpful
4
Replies

Using "route-target import" only connected routes?

fmaisano
Level 5
Level 5

When using the route-target import, the only routes imported are ones directly connected on one of the other PE routers. How does one get the advertised routes and the connected routes imported?

PE1 -- PE2

|

|

PE3

Customer's remote site attaches to PE1 which peers to PE2. PE2 connects to Customer HQ.

Another VRF (100:110) provides a centralized service that will be used by several different customers. Some of the subnets for this shared service are directly connected to PE2 while other subnets are directly connected to PE3.

Since PE1 and PE2 were already peered, I thought all that was needed was an import statement to get the routes from the shared service vrf into the customer's vrf.

PE1:

ip vrf customer1

rd 100:105

route-target export 100:105

route-target import 100:105

route-target import 100:110

When I do a 'show ip route vrf Customer1' the only routes that appear are the ones directly connected to PE2. I then peered PE1 to PE3, creating a full mesh but no other routes appeared in the routing table.

PE1 -- PE2

\ |

\ |

\ PE3

I plan to use an export map and import map to filter the networks to the desired ones, but in this example, should not all routes be seen from the shared services VRF (100:110)?

Thanks!

4 Replies 4

fmaisano
Level 5
Level 5

The ASCII topology got mangled. Please follow the text for the correct topology.

FM

Could you post the relevant bits of VRF config from your PE routers and also the output of 'sh ip ro vrf

Paresh

Certainly. See attached

Frank,

Performing the import on one PE doesn't cause that one PE to start advertising the imported prefixes to other member of the same VRF on other PEs.

If you want the prefixes from the shared services VRF to show up in the customer VRF on all PEs, you need to import RT 100:10 in VRF Customer1 on all PEs.

Hope this helps,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: