Inter-AS

Inter-AS MPLS VPN Option b – Type 2c

Inter AS MPLS VPN Option b has three options as described below.

In the third option ie 2c an MP-eBGP session is configured between ASBRs to exchange VPNv4 prefixes.

The Link between the ASBRs is an MPLS link but does not require an IGP.

A sample topology can be seen below.

In this option, the ASBRs do not change the next hop of the destination prefix when advertising the prefixes using MP-iBGP.  

The MP-eBGP session is configured between the loopback addresses of the ASBRs.

To enable the MP-eBGP session to be established a static route neets to be configured on each ASBR pointing to the other ASBRs loopback address.  

If order for a full LSP to be established the static routes need to be redistributed into the service providers IGP.

The VPN label for the prefix changes only twice compared to three times of option b, 2a.

For a prefix generated by CE1, PE1 will generate the first VPN label.  ASBR1 will then change the VPN label when it sends the VPNv4 prefix using MP-eBGP to ASBR2.  ASBR2 will then send the VPNv4 prefix to PE2 with the VPN label unchanged.

To can see the VPN label generated as an “in” label using the commands

sh ip bgp vpnv4 all label

On PE1 and ASBR1 you will see the locally generated “in” label.

If you run the above command on ASBR2 you will notice their is no “in” label, this shows the difference between the two sub options 2a and 2c.

As far as I can see there is very little difference between the two sub options 2b and 2c of Option b.

Inter-AS MPLS VPN Option A

Option A is the simplist of the three inter-AS MPLS options, however its simplicity has drawbacks in that it doesn’t scale too well.

Option A required two bordering PE routes to share an EBGP session.  VPN customers VPNv4 prefixes are converted into IPv4 prefixes and advertised across the EBGP session.  

Once they are received on the other side, they are converted back into VPNv4 prefixes and advertised accross the MPLS VPN cloud.

A sample setup is as below.

If there are 100 Inter-As MPLS VPNS configured using option A, the service providers will have to configure 100 EBGP sessions between their neighboring PEs.

Inter AS MPLS VPN – Option what?

When people talk about Inter AS MPLS VPN they often mention option A, B or C.  I searched high a low trying to make sense of this naming convention, thinking it was some official terminology.

I concluded whether rightly or wrongly, that this is referring to paragraph 10 in RFC 4364 BGP/MPLS IP Virtual Private Networks (VPNs) (This RFC Obsoletes the well known RFC 2547).

Paragraph 10 describes 3 ways to connect an MPLS VPN using multiple service providers.  

The 3 ways are described in 3 sub paragraphs a, b, and c.  Which I believe became known as option A, option B and option C.

To further confuse matters, there are some references* namely option 2a, 2b and 2c which are suboptions for RFC 4364 option b.

*see Cisco press – MPLS configuration on Cisco IOS Software