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

mpls l3vpn vrf export map reapply

e.maksyukov
Level 1
Level 1

Hello. I need some assistance. Sorry about my english, not a native speaker.

We have a router (ASR903). To one of VRFs configured on it I want to apply export map. Something like this:

vrf definition VRF1
 rd 65000:101
 route-target export 65000:101
 route-target import 65000:101
 route-target import 65001:101
 !
 address-family ipv4
  export map RM-EXPORT-RT-POLICY
 exit-address-family
!

route-map RM-EXPORT-RT-POLICY permit 10
 match ip address prefix-list PL-VRF1-VRF2
 continue
 set extcommunity rt 65001:65000 additive

When I've configured this export-map, it didn't apply additional RT to matched routes (only directly connected routes). I was forced to "shut/no shut" interfaces. Only after that community was added (to verify show ip bgp vpnv4 vrf VRF1 "route").

In future obviously I will need to add more route-map clauses or change prefix-lists. And "shut/no shut" in not an option to apply changes. Is there any way to clear/reapply export map to routes already in bgp table? And only for that VRF (don't want to disrupt traffic of another customers). I can't softly clear any bgp connection for that - only directrly connected routes (through redistribution).

4 Replies 4

Philip D'Ath
VIP Alumni
VIP Alumni

I don't know how to resolve your issue.  Are you running a gold star release of code?

Have you tried to use just the export-map?

I’m guessing that using the export-map in addition to native RT can result in some unexpected behaviour.

Or it’s maybe the export-map piece that is broken.

 

adam    

 

adam

Hello Adam

"Have you tried to use just the export-map?"

I will try. I think without prefix-list all routes will get additional RT extcommunity.

"I’m guessing that using the export-map in addition to native RT can result in some unexpected behaviour."

I read in this document otherwise:

https://supportforums.cisco.com/document/140196/mpls-vpn-importexport-maps

Matched in export map routes will get additional RT extcommunity.

Hello Philip. Nope, I guess not.

asr900rsp3-packages-universalk9_npe.03.18.01.S.156-2.S1-ext.conf