Users Guide

Layer 3 Routing Commands 1355
Example
console(config-router-af)#redistribute rip
route-target
Use the route-target command to create a list of export, import, or both route
target (RT) extended communities for the specified VRF instance.
Use the no form of the command to remove the route target from a VRF
instance.
Syntax
route-target {export | import | both} rt-ext-comm
no route-target {export | import | both} rt-ext-comm
export — Exports routing information to the target VPN extended
community.
import—Imports routing information from the target VPN extended
community.
both—Exports and imports the routing information to/from the target
VPN extended community.
rt-ext-comm — The route-target extended community attributes to be
added to the list of import, export or both (import and export) route-target
extended communities.
The route target specifies a target VPN extended community. Like a route
distinguisher, the route-target extended community can be specified in
either of the following formats:
16-bit AS number :your 32-bit value (Ex : 100:11)
32-bit IPv4 address :your 16-bit value (Ex : 10.1.1.1:22)
Default Configuration
No route targets are configured by default.
Command Mode
Privileged Exec mode