cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
314
Views
7
Helpful
1
Replies

route leaking in sngle command

shivlu jain
Level 5
Level 5

we are having a vpn red having rd x:y this is spread over 600 locations; now i am leaking a route of my internet vrf and want to import this route to vpn red. problem is that everywhere i have to add the import command means add it to 600 PE. It's a cumbersome work. Do we have any solution for this thru which in a single step all can see the same leak route.

regards

shivlu

1 Reply 1

Harold Ritter
Cisco Employee
Cisco Employee

Shivlu,

One solution would be to selectively add the vpn red route-target extended community to this specific route in the vrf internet using an export-map. This way you would have only one router to touch. It would go something like this.

ip vrf internet

rd

export map test

route-target export

route-target import

!

route-map test permit 10

match ip address 10

set extcommunity rt additive

!

access-list 10 permit

!

Refer to the following document for more information on export-maps.

http://www.cisco.com/en/US/docs/ios/12_3t/ip_route/command/reference/ip2_c1gt.html#wp1123631

Regards,

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