Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

Route target(RT)

What is route target and what is the import and export parameters mean in simple terms?

2 REPLIES
New Member

Re: Route target(RT)

Hi,

route targets are the way to transfer BGP extneded communities over MPLS vpn.

route-target export is used send particular vrf BGP extended community.

remote side route-target import is used to receive BGP community value.

regards

skrao

Cisco Employee

Re: Route target(RT)

Hi,

In a MPLS L3VPN many customer sites and many customers are connected to the same SP. The SPs routers use BGP (MP-BGP with VPNv4) to distribute the customer routes amongst each other. In simple terms:

The problem to be solved: which route should be seen where? How does one router know, if an update belongs to customer A or customer B (or both)?

This is the purpose of the route-targets.

If an SP router (PE) inserts a customer route into BGP your "route-target export" statement will add the specified route-targets. As described in the previous post, they are BGP extended communities and will be sent in the BGP updates.

Think of them as tags indicating a certain route property, like VPN membership, "belongs to customer A" and such.

If a PE receives an update from other PE routers it will check to which customer(s) (precisely: which VRF(s)) this update belongs.

The "route-target import" statements mean: "In case an update has the route-target X:Y then it belongs to this customer (i.e. VRF)".

In brief:

- the PE taking the route into BGP marks with RTs (route-target export)

- the other PEs look for that RT (route-target import) to know who should get which route.

Hope this helps! Please rate all posts.

Regards, Martin

588
Views
18
Helpful
2
Replies
CreatePlease to create content