MPLS VPN - Route Target Rewrite

Prerequisites for MPLS VPN - Route Target Rewrite


The MPLS VPN - Route Target Rewrite feature requires the following:

You should know how to configure Multiprotocol Virtual Private Networks (MPLS VPNs).

You need to configure your network to support interautonomous systems (Inter-AS) with different route target (RT) values in each autonomous system (AS).

You need to identify the RT replacement policy and target router for each AS.

Route Target Replacement Policy


Routing policies for a peer include all configurations that may impact inbound or outbound routing table updates. The MPLS VPN - Route Target Rewrite feature can influence routing table updates by allowing the replacement of route targets on inbound and outbound BGP updates. Route targets are carried as extended community attributes in BGP Virtual Private Network IP Version 4 (VPNv4) updates. Route target extended community attributes are used to identify a set of sites and VPN routing/forwarding instances (VRFs) that can receive routes with a configured route target.

In general, ASBRs perform route target replacement at autonomous system borders when the ASBRs exchange VPNv4 prefixes. You can also configure the MPLS VPN - Route Target Rewrite feature on PE routers and RR routers.

Figure 1 shows an example of route target replacement on ASBRs in an MPLS VPN Inter-AS topology. This example includes the following configurations:

PE1 is configured to import and export RT 100:1 for VRF VPN1.

PE2 is configured to import and export RT 200:1 for VRF VPN2.

ASBR1 is configured to rewrite all inbound VPNv4 prefixes with RT 200:1 to RT 100:1.

ASBR2 is configured to rewrite all inbound VPNv4 prefixes with RT 100:1 to RT 200:1.

Figure 1 Route Target Replacement on ASBRs in an MPLS VPN Inter-AS Topology


Figure 2 shows an example of route target replacement on route reflectors in an MPLS VPN Inter-AS topology. This example includes the following configurations:

EBGP is configured on the route reflectors.

EBGP and IBGP IPv4 label exchange is configured between all BGP routers.

Peer groups are configured on the routers reflectors.

PE2 is configured to import and export RT 200:1 for VRF VPN2.

PE2 is configured to import and export RT 200:2 for VRF VPN3.

PE1 is configured to import and export RT 100:1 for VRF VPN1.

RR1 is configured to rewrite all inbound VPNv4 prefixes with RT 200:1 or RT 200:2 to RT 100:1.

RR2 is configured to rewrite all inbound prefixes with RT 100:1 to RT 200:1 and RT 200:2.

Figure 2 Route Target Rewrite on Route Reflectors in an MPLS VPN Inter-AS Topology


Comments

Popular posts from this blog

TCP/IP 明確擁塞通知 (ECN)

L2TPv3 Enables Layer 2 Services for IP Networks

Q-in-Q(Dot1Q Tunnel) Sample Configuration