Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

How does "match tag" works with vrf "export map" ?

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

Everyone's tags (6)
3 REPLIES

Re: How does "match tag" works with vrf "export map" ?

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 ?

How does "match tag" works with vrf "export map" ?

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

How does "match tag" works with vrf "export map" ?

Thanks Mahesh

833
Views
0
Helpful
3
Replies
CreatePlease to create content