03-29-2006 11:41 AM
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!
03-29-2006 11:43 AM
The ASCII topology got mangled. Please follow the text for the correct topology.
FM
03-29-2006 12:23 PM
Could you post the relevant bits of VRF config from your PE routers and also the output of 'sh ip ro vrf
Paresh
03-30-2006 06:08 AM
03-30-2006 08:58 AM
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,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide