# export map

#### Syntax

export map [ ipv4 | ipv6 ] routeMap [ filter ]

no export map [ ipv4 | ipv6 ]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Associates a route map with a VRF to modify or filter routes exported by the VRF to the global BGP VPN RIB in the parent VR. Both IPv4 and IPv6 routes are exported unless you issue the appropriate keyword to restrict exportation. The no version restores the default behavior, which is to export all routes without applying a route map.

#### Options

- ipv4—Specifies that only IPv4 routes are exported to the global BGP VPN RIB
- ipv6—Specifies that only IPv6 routes are exported to the global BGP VPN RIB
- routeMap—Name of a route map; string of up to 32 alphanumeric characters
- filter—Prevents routes that do not match the route map from being exported; if absent, such routes are exported but their attributes are not modified by the route map

#### Mode

VRF Configuration