# MPLS VPN VRF Export Map

**URL:** <https://forum.networklessons.com/t/mpls-vpn-vrf-export-map/2384>\
**Category:** Lessons Discussion\
**Created:** [November 9, 2017, 11:44am UTC](https://forum.networklessons.com/t/mpls-vpn-vrf-export-map/2384 "2017-11-09T11:44:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ReneMolenaar](https://cdn-forum.networklessons.com/user_avatar/forum.networklessons.com/renemolenaar/32/488_2.png) [@ReneMolenaar](https://forum.networklessons.com/u/ReneMolenaar)\
**Post date:** [February 16, 2018, 8:56am UTC](https://forum.networklessons.com/t/mpls-vpn-vrf-export-map/2384/3 "2018-02-16T08:56:53Z")

</div>

Hi Chris,

It still has the implicit deny but when you use a route-map as an export-map, it only tells the router which route-targets to add. When you use a route-map with a neighbor for a routing protocol, it works as a filter for routes.

For example, this is the default route-target on PE1:

```
ip vrf CUSTOMER
 rd 1:1
 route-target export 1:1:

```

And we use this export-map:

```
PE1(config)#ip prefix-list CE1_L0 permit 1.1.1.1/32
PE1(config)#route-map EXPORT_MAP permit 10
PE1(config-route-map)#match ip address prefix-list CE1_L0

```

Then we end up with:

```
PE1#show ip bgp vpnv4 all 1.1.1.1/32 | include Extended
      Extended Community: RT:3:3 OSPF DOMAIN ID:0x0005:0x000000020200
PE1#show ip bgp vpnv4 all 11.11.11.11/32 | include Extended
      Extended Community: RT:1:1 OSPF DOMAIN ID:0x0005:0x000000020200
PE1#show ip bgp vpnv4 all 192.168.12.0/24 | include Extended
      Extended Community: RT:1:1 OSPF DOMAIN ID:0x0005:0x000000020200

```

Because of the implicit deny, the last two routes didn’t get route-target 3:3 but the default one (1:1).

Hope this helps!

Rene

---

_[View the full topic](https://forum.networklessons.com/t/mpls-vpn-vrf-export-map/2384)._
