05-31-2012 02:25 PM
Dears
Would like your assistance please regarding below
How does "match tag" works with vrf "export map" ?
I am asking this cause as I know "tag" only appears with static routes .. so when route is redistributed into BGP this tag disappears
Also export map should match on BGP routes and not static routes cause simply static routes may not be redistributed into BGP
So how it works ?
----------------------
ip route vrf test 10.0.0.0 255.255.255.0 se1/0 tag 80
ip vrf test
rd 10283:11004
export map VPN-export
route-target export 10283:1001
route-target import 10283:1001
route-map VPN-export permit 10
match tag 80
set community no-advertise
set extcommunity rt 10283:214000
router bgp 1
address-family ipv4 vrf test
redistribute static
----------------------------
Many Thanks
Sherif Ismail
05-31-2012 02:29 PM
I believe it works as below
1- "export map" go check all static routes, if there is match
2- then check if route is redistriubted into BGP or not
If yes then advertized into MP-BGP otherwise wont be advertized
Correct ?
06-01-2012 07:55 PM
Hi,
This is really interesting question and explanation you privded make sense to me. I was searching this on web but as usual for any vendor internal algorithm never shared so didn't find anything. If I found something surely let you know.
Regards # Mahesh
06-03-2012 12:48 AM
Thanks Mahesh
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