Inter-AS Option B w/ RT Rewrite

Load inter.as.l3vpn.option.b.rt.rewrite.init.cfg

#IOS-XE
config replace flash:inter.as.l3vpn.option.b.rt.rewrite.init.cfg
 
#IOS-XR
configure
load bootflash:inter.as.l3vpn.option.b.rt.rewrite.init.cfg
commit replace
y

Option B is already fully setup. But the SPs do not want to import each other’s RT values on every single PE. Currently the inter-AS L3VPN traffic is not working because of this. Use RT rewrite on the ASBRs to fix this.

Answer

Explanation/Verification

Inter-AS option B requires coordination of RT values between the SPs. In this lab, the SPs do not want to have to import the other SP’s RT value on every single VRF of every PE. Instead, we are asked to configure an RT rewrite policy on the ASBRs.

On R1, we identify the two RT values that AS200 uses for VPN_A and VPN_B. We then set this to our own RT value for these VPNs. This is applied to the neighbor XR1 inbound.

On R2, we now see that remote VPNv4 updates have the RT of 100:1 instead of 200:1. This allows R2 to import the routes without any changes on R2 itself.

We do the same on XR1, matching the remote AS’s RT values and translating these to AS200’s RT value.

This allows XR2 to import the VPNv4 routes without any changes.

Note that there was no need to alter the RD values, as these are just used to keep VPNv4 updates separated in the global VPNv4 table.

Last updated