cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
459
Views
0
Helpful
1
Replies

route-target imports - scalable

harald.singer
Level 1
Level 1

Hi,

at the moment i´m using the following config for route-target imports:

ip vrf NAME-0001

rd 65123:1

route-target import 65123:1

route-target import 65123:2

route-target import 65123:3

route-target import 65123:4

route-target import 65123:5

...

route-target import 65123:999

I would like the following:

ip vrf NAME-0001

rd 65123:1

import map ALL

route-map ALL permit 10

match "ROUTE-TARGET" 65123:*

But my config doesn´t work - even if i permit ANYTHING within the route-map ALL

What´s the way to do this?

1 Reply 1

Harold Ritter
Cisco Employee
Cisco Employee

The import map can be only used to further filter a prefix that has already been accepted by the "route-target import" statement.

In a point to multipoint scenario, you could include the RT of the hub VRF on the spokes VRFs, which would alleviate the need to add new "route-target import" on the hub PE every time you add a new PE.

In an any to any scenario, you could define a RT that is common to all PEs, which doesn't necessarily need to match the RD.

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