Services · Topic 1 of 5

VPN Services: EVPN, Inter-AS VPN, CSC and mVPN

Describe EVPN route types and services, Inter-AS VPN options A, B and C, carrier supporting carrier VPNs and multicast VPN, with XR and XE examples.

  • 5 min
In a nutshell
  • EVPN uses the l2vpn evpn address family and learns MAC addresses in the control plane.
  • Route type 2 carries MAC and IP, type 3 floods, type 5 carries IP prefixes.
  • ESI identifies a multihomed Ethernet segment, and EVPN allows all active forwarding.

What it is

Provider VPN services let one network carry many separate customer networks across a shared MPLS or SR core.

This page describes four extensions of the basic VPN idea. EVPN uses BGP to run Layer 2 and Layer 3 services. Inter-AS VPN joins VPNs across two providers.

CSC lets one provider carry another provider. mVPN adds multicast.

Customer Asite 1PEProvider coreshared transportPECustomer Asite 2

How it works

Each extension changes who holds the customer routes and how labels are exchanged.

EVPN

EVPN carries customer MAC and IP routes in BGP, in the l2vpn evpn address family. MAC addresses are learned on the edge and advertised in the control plane, so the core does not flood to learn them.

An EVPN instance (EVI) is the service. An Ethernet segment identifier (ESI) names a multihomed link, and EVPN supports all active multihoming, so both PEs forward at once. The route types you must know are:

Route typeNameUse
1Ethernet auto discoveryMultihoming and fast convergence
2MAC and IP advertisementHost MAC addresses and IPs
3Inclusive multicastFloods broadcast and unknown traffic
4Ethernet segmentDesignated forwarder election
5IP prefixLayer 3 prefixes

EVPN can give point to point services (EVPN VPWS), the multipoint LAN service, and Layer 3 services. The data plane can be MPLS or VXLAN.

RP/0/RP0/CPU0:PE1(config)# evpn
RP/0/RP0/CPU0:PE1(config-evpn)# evi 100
RP/0/RP0/CPU0:PE1(config-evpn-instance)# bgp
RP/0/RP0/CPU0:PE1(config-evpn-instance-bgp)# route-target import 65000:100
RP/0/RP0/CPU0:PE1(config-evpn-instance-bgp)# route-target export 65000:100
RP/0/RP0/CPU0:PE1(config)# router bgp 65000
RP/0/RP0/CPU0:PE1(config-bgp)# address-family l2vpn evpn

That is IOS XR, and the BGP neighbours must also activate the l2vpn evpn family.

Inter-AS VPN

When two providers must join one VPN, their ASBRs connect. Three methods are named by letter.

OptionWhat crosses the AS linkTrade off
AA sub interface and eBGP for each VRFSimple, but does not scale
BVPNv4 routes with MP-eBGP between ASBRsScales better, ASBRs hold VPN routes
CVPNv4 between route reflectors, labelled IPv4 between ASBRsBest scale, needs loopbacks with labels

In option A, each ASBR acts like a PE and a CE for the other. In option B, the ASBR changes the next hop to itself and assigns a new label. In option C, the PE loopbacks are exchanged with labels, and a multihop session carries the VPN routes, so ASBRs hold no VPN routes.

ASBR1(config)# router bgp 65000
ASBR1(config-router)# no bgp default route-target filter
ASBR1(config-router)# neighbor 198.51.100.2 remote-as 65100
ASBR1(config-router)# address-family vpnv4
ASBR1(config-router-af)# neighbor 198.51.100.2 activate

That is IOS XE option B. The route target filter line is needed because the ASBR has no VRFs and would otherwise discard the routes. On IOS XR, retain route-target all plays the same role.

Carrier supporting carrier

In CSC, a backbone carrier sells VPN service to another carrier, the customer carrier. The customer carrier runs its own MPLS network and its own customers, and it sends traffic through the backbone.

The backbone does not learn the end customers' routes. It only carries the customer carrier's internal routes, such as loopbacks, and it exchanges labels with the customer carrier edge, through LDP or BGP labelled unicast. The packet then has more labels, because the end customer's labels are inside the backbone labels.

End customerVPN sitelabelsCustomer carrierown MPLSlabels in labelsBackbone carrierVRF per customer carrierlabelsCustomer carrierremote site

Multicast VPN

Multicast VPN (mVPN) carries customer multicast across the provider core. There are two families of design.

  • Rosen design: all PEs of a VPN join one default multicast group in the core, called the default MDT, and traffic is carried in GRE. A data MDT can be created for busy sources, so only interested PEs get the traffic. The core runs PIM.
  • Next generation mVPN: BGP signals the multicast routes in the ipv4 mvpn address family, and the core uses MPLS point to multipoint LSPs, such as those made by mLDP.

The next generation design needs no multicast routing in the core, and it uses MPLS label forwarding for replication.

What to remember for the exam

Eight facts cover most questions on this topic.

  • EVPN uses the l2vpn evpn address family and learns MAC addresses in the control plane.
  • Route type 2 carries MAC and IP, type 3 floods, type 5 carries IP prefixes.
  • ESI identifies a multihomed Ethernet segment, and EVPN allows all active forwarding.
  • Inter-AS option A uses a VRF per link, option B uses VPNv4 between ASBRs, option C uses VPNv4 between RRs.
  • In option B, the ASBR sets next hop self and needs the route target filter turned off.
  • CSC carries the customer carrier internal routes with labels, and not its end customers' routes.
  • Rosen mVPN uses a default MDT with GRE and PIM in the core.
  • Next generation mVPN uses BGP and MPLS point to multipoint LSPs.
Exam tip

Scale is the key to option choice. A means a link per VRF, B means ASBRs hold VPN routes, and C means ASBRs hold none.

Common mistakes

These four mistakes appear often.

Mixing up route type 2 and type 3. Type 2 carries host addresses, and type 3 sets up flooding.

Forgetting the route target filter on an option B ASBR. The routes are discarded and the VPN is empty.

Saying CSC exchanges customer VPN routes with the backbone. Only the customer carrier internal routes are exchanged.

Assuming mVPN needs PIM in every design. The next generation design uses BGP and MPLS instead.

Note

Option A is the simplest to build, and option C is the one that scales best.

Check yourself

Work through these three questions.

  • Which EVPN route type advertises a host MAC and IP address?

    Route type 2, the MAC and IP advertisement.

  • What distinguishes Inter-AS option C from option B?

    In option C the ASBRs hold no VPN routes, because VPNv4 is exchanged between route reflectors and labelled IPv4 between ASBRs.

  • How does next generation mVPN signal multicast routes?

    It uses BGP in the ipv4 mvpn address family, with MPLS point to multipoint LSPs in the core.

Topic 1 of 5 in Services

Test yourself on Services

The full Cisco CCNP 350-501 SPCOR question bank has 738 questions, with timed practice exams and an explanation for every answer.

This study guide is independent and is not affiliated with, endorsed by, or sponsored by Cisco. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.