Specifications

Table Of Contents
export map
MP-77
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
export map
To associate an export map with a VPN Routing and Forwarding (VRF) instance, use the export map
command in IP VRF configuration mode.
export map r
oute-map
no export map r
oute-map
Syntax Description
Command Default No export maps are associated with a VRF instance.
Command Modes IP VRF configuration
Command History
Usage Guidelines The ex
port map command is used to associate a route map with the specified VRF. The export map is
used to filter routes that are eligible for export out of a VRF, based on the route target extended
community attributes of the route. Only one export route map can be configured for a VRF.
An export route map can be used when an application requires finer control over the routes that are
e
xported out of a VRF than the control that is provided by import and export extended communities
configured for the importing and exporting VRFs.
Examples In the following example, an export is configured under the VRF and an access list and route map are
co
nfigured to specify which prefixes are exported:
Router(config)# ip vrf RED
Router(config-vrf)# rd 1:1
Router(config-vrf)# export map BLUE
Router(config-vrf)# route-target import 2:1
Router(config-vrf)# exit
Router(config)# access-list 1 permit 192.168.0.0 0.0.255.255
Router(config)# route-map BLUE permit 10
Router(config-route-map)# match ip address 1
Router(config-route-map)# set extcommunity rt 2:1
Router(config-route-map)# end
route-map Specifies the route map to be used as an export map.
Release Modification
12.0(5)T This command was introduced.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.