export-map

Exports the target-VPN community.

Syntax

export-map route-map
no export-map route-map

Parameters

route-map
Specifies the route-map name.

Modes

VRF configuration mode

Usage Guidelines

The no form of the command to apply a route-map filter on the routes to be exported.

Examples

The following example shows how to export the target-VPN community.

device# configure terminal
device(config)# vrf vpn1
device#(config-vrf-vpn1)# rd 1:2
device#(config-vrf-vpn1)# vpn-statistics
device#(config-vrf-vpn1)# address-familin ipv4 unicast
device#(config-vrf-vpn1-ipv4-unicast)# route-target-import 100:1
device#(config-vrf-vpn1-ipv4-unicast)# export-map import-route-map1