02-05-2017 11:38 PM
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).
02-08-2017 10:43 PM
I don't know how to resolve your issue. Are you running a gold star release of code?
02-09-2017 04:34 AM
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
02-09-2017 06:45 AM
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.
02-09-2017 06:26 AM
Hello Philip. Nope, I guess not.
asr900rsp3-packages-universalk9_npe.03.18.01.S.156-2.S1-ext.conf
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