Configuring Route Targets

Route Targets (RTs) are used by BGP as extended communities that define which VRFs will export and import learned routes. A VRF import RT will receive Layer 3 VPN routes from any PE VRF that is configured to export to that RT. To enable BGP Layer 3 VPN communications, you must configure import and export RTs on every VRF that will participate in the Layer 3 VPN.

To add, delete, or configure an RT, use the command:

configure vr vrf_name route-target [import | export | both] [add | delete] [route_target_extended_community]