Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
EVPN-VPWS
EVPN Deployment: DC Fabric Evolution
with EVPN-VXLAN
EVPN Deployment: DC Fabric and WAN
Integration
EVPN Overview
L2VPN Technologies Evolution
Native L2 Bridging Technologies
IEEE 802.1Qbp
What about Inter Domain (WAN) Connectivity?
Large # of VLANs 16 millions
What about IP or MPLS fabric?
Large # of MACs MAC-in-MAC
What about industry traction & multi-vendor interop?
Optimum Forwarding
What about All-Active multi-homing?
ECMP
What about multi-pathing (not ECMP)?
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
L2VPN Technologies Evolution
PBB-EVPN
L2 VPN Technologies
To Address
all major
PW Scale MAC Scale
shortcomings EVPN-VxLAN
EVPN-IRB
EVPN
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
2006 2010 2011 2013 2015
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
EVPN in a Nut Shell
MAC learning in control plane (via BGP)
Consolidated VPN
PE2 PE4 service with x-EVPN
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
VPLS cannot provide All-Active Multi-Homing
Because:
Flip/flopping !
Packets originated from MAC2 arrives
MAC1 CE1 CE2 MAC2
at both PE3 and PE4 which get PE1 PE3
forwarded subsequently to PE1. PE1
keeps flip/flopping between PE3 and
PE4 for learning of MAC2!!
PE2 PE4
MAC1 MAC2
BUM packets forwarded from PE1 CE1 PE1 PE3 CE2
VPLS cannot do proper load-balancing MAC1 CE1 PE1 PE3 CE2 MAC2
because doesnt support Aliasing.
When PE3 wants to forward a packet
with destination address MAC1, it Load balancing
needs to send it to both PE1 and PE2
even though it only learned MAC1 from
PE1. PE2 PE4
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
EVPN All-Active Multi-Homing Principles
MAC1 MAC2
ARP broadcast packet doesnt get CE1 PE1 PE3 CE2
PE2 PE4
P
E
Vlan X -
Per-flow load balancing F1X Flow Based Multi-Pathing in the Core
Vlan
F2X
Vlan
between ingress and egress F3X
Vlan
P
E
P
E
P P
PEs are provided using IGP F4
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
E-VPN Concepts
E-VPN Instance BGP Route
Ethernet Segment BGP Routes
(EVI) & MAC-VRF Attributes
EVPN NLRI
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
EVPN Technology Prime
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
ESI Auto-Sensing
ESI (10B) can be auto-generated1
from CEs LACP information ->
concatenation of CEs LACP
System Priority + Sys ID + Port Key System System MAC
Segment Auto-Discovery Example:
Priority Address
Port Key
PE2 PE4
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Redundancy Group Membership Auto-Discovery
PE1 PE3
ESI Auto-Sensing
PE4
CE1
Redundancy Group Membership
MPLS
Auto-Discovery PE1000
PE2
Exchange ofPE4
Ethernet
PE 2 Eth Segment Route Segment Routes
RD = RD20
ESI = ESI1
ES-Import Route Target
e.g. 0011.0022.0033
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Ordered List of discovered PEs
DF Election & VLAN Carving Modulo Operation
starting from zero (lowest IP add)
PE1 PE3
ESI Auto-Sensing
CE1
Redundancy Group Membership ESI1
MPLS
Auto-Discovery
CE1 CE3
MPLS
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
ES-Import RT Extended Community
Usage:
Sent with Ethernet Segment route
Limits the scope of Ethernet Segment routes distribution to PEs connected to the same multi-homed
Segment
0x06
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
EVPN BGP Route 0x1 Ethernet Auto-discovery Route
This route has two flavors:
Advertise the Split-Horizon Label associated with an Advertise VPN label used for Aliasing or Backup-Path
Ethernet Segment
For AA or SA MH indication
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
ESI Label extended community ESI-2
MAC1 MAC2
Agg1 PE1 PE3 Agg2
Usage: ESI-1
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
EVPN BGP route 0x3 Inclusive Multicast
Usage:
Multicast tunnels used to transport Broadcast, Multicast and Unknown Unicast frames
(BUM)
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
PMSI Tunnel Attribute RFC6514
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
EVPN Technology Prime
MAC/IP Advertisement Advertise MAC (and IP) Per MAC (and IP)
Route (Type 2) reachability policy RR
Advertise MAC/IP binding ARP suppression
MAC Mobility Workload Mobility
PE1 PE3
CE3
ESI1 PE4 CE4
MAC1 CE1
PE2
PE1 & PE2 learns MAC1 from CE1 and advertises in BGP to all other PEs with ES field in the MAC/IP
advertisement set to ESI1
PE3 and PE4 learn that MAC1 sits behind ESI1 which in turn sits behind PE1 & PE2
PE3 and PE4 now know for packets destined to CE1, they can load balanced between PE1 and PE2
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
ARP Broadcast Suppression
Route Type Usage Benefits Challenge:
How to reduce ARP broadcasts over the
MAC/IP Advertisement Advertise MAC (and IP) Per MAC (and IP) MPLS/IP network, especially in large
Route (Type 2) reachability policy
Advertise MAC/IP binding ARP suppression scale virtualized server deployments?
MAC Mobility Workload Mobility
MAC3, IP3
PE1 PE3
MAC1, IP1
CE1 CE3
PE4 CE4
PE1 snoops the ARP packet and learns (MAC1, IP1). It adds MAC1 to its MAC-VRF, MAC1/IP1 binding to its ARP
cache. It also advertises this binding to all other PEs in BGP and floods this initial ARP request.
All other PEs learn of (MAC1, IP1). They add the MAC1 to their MAC-VRFs and add (MAC1, IP1) to their ARP cache.
Now, when CE4 sends an ARP request for IP1, PE4 has the binding info and can provide an ARP response (e.g., ARP
proxy).
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
MAC Mobility
Challenge:
Route Type Usage Benefits How to handle MAC move ?
MAC/IP Advertisement Advertise MAC (and IP) Per MAC (and IP)
Route (Type 2) reachability policy
Advertise MAC/IP binding ARP suppression
MAC Mobility Workload Mobility PE1 PE3
MAC1, IP1
CE1 CE3
PE4
MAC1, IP1
PE2
At T0, PE1 learn the MAC1, and advertise to all other PEs
At T1, MAC1 move to the PE3. PE1 is not aware of this
PE3 learn the MAC1. It will overwrite the MAC route learnt from PE1
PE3 will advertise MAC1 to all other PEs with sequence number +1
All other PE will overwrite the MAC route
Original PE1 will withdraw its old route
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Split Horizon Filtering Challenge:
How to prevent flooded traffic from
echoing back to a multi-homed
Route Type Usage Benefits Ethernet Segment?
Ethernet A-D Route Advertising Split-Horizon Loop avoidance ESI-1 ESI-2
(Type 1) Label even transient
Aliasing Efficient load CE1 PE1 PE3 CE3
Mass Withdraw of Fast convergence
addresses balancing Echo !
CE5
SH/AA MH Indication Per-site policy
CE4 PE2 PE4
When PE learns MAC address on its AC, it advertises the MAC in BGP along
with the ESI of the Ethernet Segment from which the MAC was learnt.
Remote PEs can load-balance traffic to a given MAC address across all PEs
advertising the same ESI.
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Challenge:
MAC Mass Withdraw How to inform remote PEs of a failure
affecting many MAC addresses quickly while
the control-plane re-converges?
Route Type Usage Benefits
X
Mass Withdraw of Fast convergence I lost ESI1 PE1
addresses balancing MAC1,
PE2
MAC2, PE1 PE3
SH/AA MH Indication Per-site policy MACn
MAC1
CE1 CE3
If a PE detects a failure impacting an Ethernet Segment, it withdraws the route for the
associated ESI.
Remote PEs remove failed PE from the path-list for all MAC addresses associated with an ESI.
This effectively is a MAC mass-withdraw function.
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
EVPN BGP Route 0x2 MAC Advertisement
Unique per Advertising PE per EVI
ESI of Ethernet Segment on which MAC
Address was learnt. All 1s ESI for PBB-EVPN
8 bytes RD
Set to VLAN or I-SID for VLAN-Aware
10 bytes Ethernet Segment Identifier
Bundling Service interface, otherwise 0
4 bytes Ethernet Tag ID
Allows for MAC Address summarization, i.e.
1 byte MAC Address Length hierarchical MAC Addresses. Typically set to 48
6 bytes MAC Address
Could be C-MAC Address (EVPN) or B-MAC
1 byte IP Address Length Address (PBB-EVPN)
To distinguish IPv4 vs. IPv6 addresses.
4 or 16 IP Address
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
MAC Mobility extended community
Used to tag the MAC Advertisement route
EVPN: Indicates that a MAC address has moved from one PE to another
0x06
0x00
Set to 0
2 bytes Reserved
Indicates the count of MAC address mobility
4 bytes Sequence Number events
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
EVPN BGP Route 0x1 Ethernet Auto-discovery Route
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
EVPN Technology Prime
Startup Sequence
Operation
A Day in Life of a Packet
Life of a Packet
Ingress Replication Multi-destination Traffic Forwarding
PE1 receives broadcast Mcast MPLS
During start-up traffic from CE1. PE1 PSN MPLS label Label assigned by
sequence, PE1, PE2, forwards it using ingress to reach PE3 PE3 for incoming
PE3, PE4 sent Inclusive replication 3 copies BUM traffic on a
Multicast route which created given EVI PE3 as DF, it
include Mcast label
During start-up forwards BUM
sequence, PE2 sent Per- PE1 PE3 PE1 PE3 traffic towards
ESI Ethernet AD route segment
with ESI MPLS label VID 100
(split-horizon) (see SMAC: M1
below) DMAC: F.F.F L3
MPLS MPLS
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Life of a Packet (cont.)
Unicast Forwarding and Aliasing PE3 forwards PE3 forwards
traffic on a flow traffic on a flow
PE1 MAC Route MP2P VPN
MP2P VPN Label (flow 1) based on (flow 2) based on
RD = RD-1a Label
downstream allocated label PSN MPLS label RIB information RIB information
MAC advertised assigned by
used by other PEs to send ESI = ESI1 to reach PE1 (towards PE1) (towards PE2)
by route PE1 for
traffic to advertised MAC
MAC = M1 incoming for
target EVI
Label = L1
During start-up
sequence, PE1 sent Per- RT ext. community VID 100
EVI Ethernet AD route PE1 PE3 PE1 PE3 SMAC: M3
RT-a
DMAC: M1
VID 100
VID 100 SMAC: M4
SMAC: M1 DMAC: M1
DMAC: F.F.F L1
CE1 CE3 CE1 CE3
PE3 / PE4 RIB Path List PE1 / PE2 RIB Path List
VPN MAC ESI NH VPN MAC ESI NH
RT-a M1 ES1 PE1 RT-a M1 ES2 PE3
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
E-VPN Failure Scenarios / Convergence
Link / Segment Failure Active/Active per Flow
2 7
PE1 withdraws
PE1 withdraws Per-ESI individual MAC
Ethernet AD route for advertisement routes
1 failed segment related to failed
PE1 detects failure segment
of one of its
attached segments PE1 PE3 PE1 PE3
3 MPLS 4 MPLS
PE1 withdraws Ethernet Mass withdrawal - PE3
Segment Route / PE4 remove PE1 from
path list for all MAC
addresses of failed
segment (ES1)
2
BGP RR / PE3 detects
1 BGP session time-out
PE1 experiences a with PE1
node failure (e.g.
power failure) PE1 PE3 PE1 PE3
MPLS MPLS
6
2 3 PE3 / PE4 will forward
2 BGP RR / PE4 PE3 / PE4 invalidate M1 traffic towards PE2
BGP RR / PE2 detects detects BGP routes from PE1
BGP session time-out session time-
with PE1
PE2 out with PE1 PE4
5 PE2 PE4
PE2 adv. M1 MAC route
4 PE3, PE4 RIB Path List after CE traffic is PE3, PE4 RIB Path List
VPN MAC ESI NH hashed towards PE2 VPN MAC ESI NH
PE2 reruns DF election.
Becomes DF for all RT-a M1 ES1 PE1
PE1 RT-a M1 ES1 PE2
EVIs on segment
PE2
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
EVPN-VPWS
EVPN-VPWS Does it Better than Legacy VPWS !!
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
EVPN BGP route type
Route type Usage EVPN EVPN VPWS
0x1 Ethernet Auto-Discovery MAC Mass-Withdraw
(A-D) Route Aliasing (load balancing)
Split-Horizon
Tagged with ESI Label Extended Community
0x2 MAC Advertisement Route Advertise MAC addresses
Provide MAC / IP address bindings for ARP NOT used
broadcast suppression
Tagged with MAC Mobility Extended
Community
0x3 Inclusive Multicast Route Multicast tunnels used to transport
Broadcast, Multicast and Unknown Unicast NOT used
frames (BUM)
Tagged with PMSI tunnel attribute (P tunnel
type & ID) RFC6514
0x4 Ethernet Segment Route Auto discovery of Multi-homed Ethernet
Segments, i.e. redundancy group discovery
Designated Forwarder (DF) Election
Tagged with ES-Import Extended Community
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
EVPN BGP Extended Community
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
EVPN VPWS
Control-plane
attachment circuit
Benefits of EVPN applied to point-to-point advertisement over the
services Core
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
EVPN VPWS Operation Single-homed
ESI 10 bytes ESI as specify
by EVPN Ethernet segment
IETF draft zero for single- 3
homed RD RD unique per adv. PE
PE 1 Eth A-D Route
per EVI
RD = RD-1a
Eth.Tag ID 4-bytes local
ESI = ES1 (0)
AC-ID
Eth.Tag ID = AC1 RT RT associated with a
given EVI
Label (e.g. X)
MPLS Label (downstream
assigned) used by remote RT ext. community VPWS Service Config:
PEs to reach segment EVI = 100
RT-a
Local AC ID = AC2
PE1 PE2 Remote AC ID = AC1 ES2 Since CE2 is single
CE1 CE2 homed to PE2, ES2 = 0
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
EVPN VPWS Operation Single-active
PE 1 Eth A-D Route RD RD unique per adv. PE
ESI 10 bytes ESI as specify
per EVI
by EVPN Ethernet segment RD = RD-1a
IETF draft
ESI = ES1
3
Eth.Tag ID = AC1
Eth.Tag ID 4-bytes local Label (e.g. X) RT RT associated with a
AC-ID given EVI
RT ext. community
RT-a
MPLS Label (downstream
assigned) used by remote PE1 VPWS Service Config: Only one PE (PE1)
PEs to reach segment EVI = 100 shows as next hop for
Single-Active == per-vlan
Local AC ID = AC2 the remote AC
load-balancing CE-PEs
ES1 PE3 Remote AC ID = AC1
Two bundles on CE VPWS Service Config:
CE1 CE2
device EVI = 100
Local AC ID = AC1 ES2 Since CE2 is single
Remote AC ID = AC2 MPLS ES2
2 homed to PE2, ES2 = 0
1
VPWS Service Config: ES1
EVI = 100 PE 3 Eth A-D Route 6
Local AC ID = AC1 RD = RD-2a
PE2
5 Remote AC ID = AC2
ESI = ES2 (0)
PE3 RIB
Path List
PE1 & PE2 RIB Path List VPN MAC ESI Eth.TAG
Eth.Tag ID = AC2 NH
NH
VPN MAC ESI Eth.TAG Label (e.g. Y) RT-a - ES1 PE1
PE3
RT ext. community
RT-a - 0 AC2 4 RT-a - ES1 PE2
RT-a RT-a - ES1 AC1 PE1
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
EVPN VPWS Operation All-active
PE 1 Eth A-D Route RD RD unique per adv. PE
ESI 10 bytes ESI as specify
per EVI
by EVPN Ethernet segment RD = RD-1a
IETF draft
ESI = ES1
3
Eth.Tag ID = AC1
Eth.Tag ID 4-bytes local Label (e.g. X) RT RT associated with a
AC-ID given EVI
RT ext. community
RT-a
MPLS Label (downstream
assigned) used by remote PE1 VPWS Service Config: Both PEs (PE1/PE2)
PEs to reach segment EVI = 100 shows as next hop for
ALL-Active == per-flow
Local AC ID = AC2 the remote AC
load-baancing CE-PEs
ES1 PE3 Remote AC ID = AC1
Single bundle on CE VPWS Service Config:
CE1 CE2
device EVI = 100
ES2 Since CE2 is single
Local AC ID = AC1
Remote AC ID = AC2 MPLS ES2
2 homed to PE2, ES2 = 0
1
VPWS Service Config: ES1
EVI = 100 PE 3 Eth A-D Route 6
Local AC ID = AC1 RD = RD-2a PE3 RIB
PE2
5 Remote AC ID = AC2
ESI = ES2 (0)
Path List
VPN MAC ESI Eth.TAG
PE1 & PE2 RIB Path List NH
Eth.Tag ID = AC2
NH RT-a - ES1 PE1
VPN MAC ESI Eth.TAG Label (e.g. Y)
PE3 RT-a - ES1 PE2
RT ext. community
RT-a - 0 AC2 4 RT-a - ES1 AC1 PE1,PE2
RT-a
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
EVPN Deployment:
DC Fabric Evolution w/ EVPN-VxLAN
The Evolution of the DC Fabric
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
DC Fabric IP Underlay
Edge Device
Edge Device
Local LAN
Local LAN Segment
IP Interface
Segment
Physical
Host Physical
Edge Device
Local LAN Host
Segment
Virtual Switch
VTEP
VTEP
V V
Local LAN
Local LAN Segment
Segment Encapsulation
Physical
Host VTEP
V Physical
Local LAN Host
Segment
Virtual Switch
VTEP VXLAN Tunnel End-Point
VNI/VNID VXLAN Network Identifier
Virtual Hosts
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Next-Hop MAC Address
VXLAN Frame Format Dest. MAC Address 48
Src VTEP MAC Address
Underlay
0x0800 Header
16 20 Bytes
Checksum
Source IP 32
50 (54) Bytes of Overhead
Overlay
VXLAN Flags
VNI - allows
8
Original Layer-2 Frame RRRRIRRR for 16M
Reserved 24
possible
8 Bytes Segments
VNI 24
Reserved 8
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
VXLAN Evolution BGP EVPN Control Plane
Workload MAC / IP Addresses learnt by
Multi-Protocol BGP (MP-BGP) based
Control-Plane using EVPN NLRI
Advertises Layer-2 & Layer-3 Address-to- RR RR
VTEP Association
Make Forwarding decisions at VTEPs for
Layer-2 (MAC) and Layer-3 (IP),
Integrated Route/Bridge (IRB)
V1 V2
Reduces impact of ARP on the Network
Standards Based
draft-ietf-bess-evpn-overlay
draft-ietf-bess-evpn-inter-subnet-forwarding RR BGP Route-Reflector
draft-ietf-bess-evpn-prefix-advertisement V3 iBGP Adjacency
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
MP-BGP
EVPNforControl
VXLANPlane
EVPN
Control Plane Distribution
Reachability
EVPN route type 2: Host route, type 5: Subnet Route
Use MP-BGP with EVPN Address Family on leaf nodes to distribute internal
host MAC/IP addresses, subnet routes and external reachability information
MP-BGP enhancements to carry up to 100s of thousands of routes with
reduced convergence time
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
EVPN Control Plane -- Host Advertisement
Install host info to RIB/FIB:
Install host info to RIB/FIB:
H-MAC-1 MAC table
BGP Update: H-MAC-1 MAC table
H-IP-1 VRF IP host table 4 BGP Update:
H-MAC-1 4 H-IP-1 VRF IP host table
H-MAC-1
MAC Host VNI VTEP H-IP-1
IP
H-IP-1 3 Route VTEP-1 MAC Host VNI VTEP
VTEP-1 3
Reflector VNI-1 IP
H-MAC-1 H-IP- VNII-1 VTEP-1 VNI-1
1 H-MAC-1 H-IP-1 VNII-1 VTEP-1
2
VTEP-2
VTEP-3 BGP Update:
H-MAC-1
H-IP-1
VTEP-1
VNI-1
VTEP-1
1
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
VXLAN BGP Control Plane
EVPN Control Plane --- Host Movement
NLRI: Spine
Host H-MAC-1, H-IP-1
NVE VTEP-3
VNI 5000
Ext. Community:
Encapsulation: VXLAN VTEP-1 VTEP-2 VTEP-3 VTEP-4 Leaf
Cost
Sequence number: 1 Host 1 Host 1
H-MAC-1 H-MAC-1
H-IP-1 H-IP-1
VLAN 10 VLAN 10
VXLAN 5000 VXLAN 5000
1. Host 1 moves to VTEP-3 from VTEP-1
2. VTEP-3 detects Host 1, sends MP-BGP update for Host 1 with its own VTEP address and a new seq #1
3. Other VTEPs learn about the new route of Host 1 MAC IP VNI Next-Hop Encap Seq#
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Inter-VXLAN Routing EVPN IRB
Routing ?
IP Transport Network
SVI A SVI B
VTEP-1 VTEP-2 VTEP-3 VTEP-4
Host 1 Host 2
H-MAC-1 H-MAC-2
H-IP-1 H-IP-2
VNI-A VNI-B
Asymmetric Symmetric
Bridging & Routing on the ingress VTEP Bridging & Routing on both the ingress and
and bridging only on the egress VTEP the egress VTEPs
Requires each VTEP to have all MAC A VTEP only needs to maintain MACs for
addresses of their tenants in their ARP its directly attached endpoints. Optimal
tables can result in scale issue. utilization of VTEP resources
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Symmetric EVPN IRB (1)
Routing on both ingress and egress
VTEPs
Layer-3 VNI
Layer-3 VNI (VRF VNI)
Tenant VPN indicator
One per tenant VRF
VTEP Router MAC Layer-2 VNI Layer-2 VNI
(Network VNI) (Network VNI)
Ingress VTEP routes packets onto the
Layer-3 VNI VTEP VTEP VTEP VTEP
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Symmetric EVPN IRB (2)
Egress VTEP
routes packets
Ingress VTEP S-IP: VTEP-1 from L3 VNI to the
D-IP: VTEP-4 destination VNI-
routes packets VNI: L3 VNI
from source VNI-A 1 2 B/VLAN.
to L3 VNI. D-MAC S-MAC: Router-MAC-1
in the inner header D-MAC: Router-MAC-4
S-IP: H-IP-1
is the egress D-IP: H-IP-2 S-MAC: MAC-VTEP4 local port
VTEP router MAC
D-MAC: H-MAC-2
VNI L3 L3 VNI
S-IP: H-IP-1
A VNI VNI B
D-IP: H-IP-2
VTEP-1 VTEP-4
VTEP-2 VTEP-3
Router MAC-1 Router MAC-4
S-MAC: H-MAC-1
D-MAC: GW-MAC Host 1 Host 2
S-IP: H-IP-1 H-MAC-1 H-MAC-2
D-IP: H-IP-2 H-IP-1 H-IP-2
VNI-A VNI-B
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
(Distributed) Anycast Gateway in with EVPN IRB
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
EVPN IRB Anycast Gateway Deployment Options
Distributed vs. Centralized Anycast Gateway
clien
t Internet VPN
clien
Client Client t
IP-VPN
Internet Internet IP-VPN
Centralized Branc
VPLS/PW/EVP h Internet
N
Anycast GW VPLS/PW/EVP
DC Gateway
IRB N
(IRB anycast DC Gateway
DC-1 IRB
GW) DC-2 (L3 GW)
WAN
L2 EVPN
(per-BD VNI) L3 EVPN
(per-VRF VNI)
Leaf
Leafonly) IRB
IRB IRB IRB IRB Leaf
(L2 IRB
(IRB anycast
VM1 VM2 L2 only DC fabric L2/L3 DC fabric VM3 VM4 GW)
Distributed
Anycast GW
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
EVPN Deployment:
DC Fabric and WAN Integration
The Solution Must be End-to-End
802.1q?
SDN-DC, VXLAN SDN-WAN, MPLS/Segment Routing
overlay
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
DC Gateway Seamless DC and WAN Integration
L3 Gateway
L2 Gateway
IRB with Anycast
Gateway
Common MP-BGP (EVPN AF) control plane
VXLAN to MPLS data plane interworking
APIC SDN based auto provisioning: OpFlex,
APIC/VTS
DC Integrated Policy control: WAN optimization
Spine
WAN/DCI
Integration
SDN-DC, VXLAN Interworking SDN-WAN, MPLS/SR
overlay
Scalable, Resilient, Optimized, End-to-End 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
DC Gateway L3 Gateway EVPN/VXLAN to IP-VPN/MPLS interworking
EVPN/VXLAN to global internet
S-N Routing: all active L3 EVPN between Leaf and GW (per-vrf VNI)
Leaf is the L3 default gateway for VMs (with
EVPN IRB anycast GW) and does inter-vxlan
routing
Internet VPN
clien
Client Client t
Internet
Branch IP-VPN
Internet
DC DC-1 Gateway
WAN DC-2
Gateway
Spine L3 EVPN
(per-VRF VNI)
Leaf
Leaf
(L3 anycast
VM1 VM2 L2/L3 DC fabric L2/L3 DC fabric GW)
VM3 VM4
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
DC Gateway L2 Gateway L2 EVPN/VXLAN in the DC
L2 Stretch: E-W and S-N L2 DCI (E-W): EVPN/VXLAN with EVPN/VPLS
all-active or single-active interworking
L2 to client (S-N): EVPN/VXLAN with VPLS/PW
interworking
clien
VPN
Client t
Branch
VPLS/PW/EV
PN
Spine
L2 EVPN
(per-BD VNI)
Leaf
Leaf
VM1 VM2
L2/L3 DC fabric L2/L3 DC fabric VM3 VM4
Internet VPN
clien
Client Client t
Internet IP-VPN
Branch
Internet
VPLS/PW/EVP
IRB N
DC DC-1 IRB IRB Gateway
IRB DC-2
Gateway WAN (L3 anycast GW)
Spine L2 EVPN
(per-BD VNI)
Leaf Leaf
VM1 VM2 L2 only DC fabric (L2 only)
L2 only DC fabric VM3 VM4
clien
t Internet VPN
clien
Client Client t
IP-VPN
Internet IP-VPN
Internet Branc
VPLS/PW/EVP
Centralized Internet
h VPLS/PW/EVP
N Anycast GW
N
DC Gateway IRB
(IRB anycast GW) DC-1 DC Gateway
IRB DC-2
WAN (L3 GW)
L2 EVPN
(per-BD VNI) L3 EVPN
(per-VRF VNI)
Distributed
Anycast
2016 Cisco and/or its GW
affiliates. All rights reserved. Cisco Public 77
IRB Anycast Gateway Deployment Option
Comparison
Option 1 Option 2
Distributed IRB Anycast Gateway Centralized IRB Anycast Gateway
Cons EVPN IRB function across all Leaf Sub-optimal E-W inter-vxlan routing
nodes
Require both L2 and L3 function on
the leaf
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
DC Gateway the Policy Integration and Auto-
Provisioning: Application-engineered Routing
DC: classification PBTS: steering packet to
and marking SR-TE in the WAN
WAN Segment
Routing
VTS/APIC VTS/APIC
DC DC-1
WAN DC-2
Gateway
Spine
Leaf
VM1 VM2
VM3 VM4
ACI Fabric
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Example: Application requires the lowest latency path in the WAN
ACI Fabric
latency.
Tokyo
Segment
Routing Russia Customer identify the applications that require the
US lowest possible latency path on APIC, integration
WAN steers traffic on the path via Russia.
with WAE
Brussels
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Summary
EVPN: Next Generation VPN
EVPN
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
References
[FabricPath]: FabricPath http://www.cisco.com/en/US/prod/switches/ps9441/fabric_path_promo.html
[PORTLAND]: PortLand: A Scalable Fault-Tolerant Layer 2 Data Center Network Fabric http://ccr.sigcomm.org/online/?q=node/503
[MONSOON]: Towards a Next Generation Data Center Architecture: Scalability and Commoditization
http://research.microsoft.com/apps/pubs/default.aspx?id=79348
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Complete Your Online Session Evaluation
Give us your feedback to be
entered into a Daily Survey
Drawing. A daily winner will
receive a $750 Amazon gift card.
Complete your session surveys
through the Cisco Live mobile
app or from the Session Catalog
on CiscoLive.com/us.
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Continue Your Education
Demos in the Cisco campus
Walk-in Self-Paced Labs
Lunch & Learn
Meet the Engineer 1:1 meetings
Related sessions
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Thank you
Please join us for the Service Provider Innovation Talk featuring:
Yvette Kanouff | Senior Vice President and General Manager, SP Business
Joe Cozzolino | Senior Vice President, Cisco Services
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
PBB-EVPN Startup Sequence (cont.)
ESI and B-MAC Auto-Sensing
ESI (10B) can be auto-generated*
from CEs LACP information ->
concatenation of CEs LACP
System Priority + Sys ID + Port Key System System MAC
Segment Auto-Discovery Port Key
Priority Address
Example:
0000. 0011.0022.0033.0018 2 bytes 6 bytes 2 bytes
PE1 PE3
PE1 PE3
CE1 CE3
Redundancy Group Membership
MPLS
Auto-Discovery
PE2 PE4
PE 2 Eth Segment Route
RD = RD20
ESI = ESI1
ES-Import ext. comm.
BRKMPL-2333 2016 Cisco and/or its e.g. 0011.0022.0033
affiliates. All rights reserved. Cisco Public 92
Ordered List of discovered PEs
starting from zero (lowest IP add)
PBB-EVPN Startup Sequence Modulo Operation
I-SID mod N PE Ordered List
Designated Forwarder (DF) Election* I-SID (N = # of PEs)
Position PE
(e.g. I-SID mod 2)
Result of modulo 0 PE1
100 0
operation is used to
1 PE2
determine DF and 101 1
Segment Auto-Discovery BDF status 102 0 Example:
103 1 PE1 DF for I-SIDs 100, 102
PE1 BDF for I-SIDs 101, 103
PE1 PE3
CE1 CE3
Redundancy Group Membership
MPLS
Auto-Discovery
Modulo Operation
PE Ordered List
I-SID (I-SID mod 2)
Position PE
100 0
0 PE1
101 1 PE2 PE4
1 PE2
102 0
103 1 Example:
PE2 DF for I-SIDs 101, 103 DF Designated Forwarder
PE2 BDF for I-SIDs 100, 102 BDF Backup Designated Forwarder
(*) DF election with Service Carving shown (i.e. one DF per I-SID in the segment) I-SID PBB 24-bit Service Instance ID
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
PBB-EVPN Startup Sequence (cont.)
BGP MAC Advertisement Route (B-MAC) RD RD unique per
PE1 MAC Route advertising PE per EVI
CE1 CE3
Redundancy Group Membership
MPLS
Auto-Discovery
B-M2
B-M1
Backbone MAC (B-MAC) PE2 MAC Route
CE1 CE3
MPLS
MPLS MPLS
PBB PBB
PE 2 Inclusive Multicast B-M2
B-M1
B-M2
B-M1
Route
RD = RD-2a
PE4 non-DF for
PMSI Tunnel Attribute PE2 PE4 PE2 PE4 given I-SID drops
PE2 drops BUM PE3 MAC Table BUM traffic
Tunnel Type = P2MP traffic originated I-SID xyz
Label = 0 on same source
Mcast MPLS Label not B-MAC (B-M1) C-MAC B-MAC Data-plane based
RT ext. community assigned for Inclusive Trees MAC learning for
M1 B-M1
RT-a C-MAC / B-MAC
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. association
Cisco Public 97
Life of a Packet (cont.)
Unicast Traffic Forwarding
PE1 MAC Route
MP2P VPN Label
downstream allocated label RD = RD-1a PE3 forwards traffic
MAC advertised PSN MPLS label MP2P VPN Label destined to M1
used by other PEs to send ESI = 1 assigned by PE1
by route to reach PE1 using B-MAC B-M1
traffic to advertised MAC for incoming traffic
MAC = B-M1 towards PE1
for the target EVI
Label = L1
RT ext. community
PE1 PE3 PE1 PE3
VID 100 RT-a
VID 100
SMAC: M1
SMAC: M2
DMAC: F.F.F
B-M1 B-M1 DMAC: M1
B-M2 B-M2
MPLS MPLS
B-M3 B-M3
PE2 PE2
PE 1 / PE2 RIB Path List PE1 / PE2 MAC Table PE2 forwards traffic to
I-SID xyz M3 using B-MAC B-M3
VPN MAC ESI NH
C-MAC B-MAC towards PE3
RT-a B-M3 0 PE3
M3 B-M3
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Life of a Packet (cont.)
Active / Active Per-Service Load Balancing
PE1 MAC Route
During startup, PE1 RD = RD-1a PE3 forwards traffic to
advertises: MP2P VPN Label M1 using B-MAC B-M1
Ethernet Segment route ESI = 1 assigned by PE1 for towards PE1
MAC Route for B-MAC B- MAC = B-M1 incoming traffic for
M1 target EVI
Label = L1
PE1 elected DF for I-SID
100 RT ext. community PE1 PE3
PE1 PE3 VID 100 I-SID 100
VID 100 RT-a SMAC: M3
SMAC: M1 DMAC: M1
DMAC: M3
B-M1 B-M3 B-M1 B-M3
CE1 configured with two CE1 CE3 CE1 L1 PBB VID 200 ISD 200
SMAC: M4
(2) separate bundles MPLS DMAC: M11
towards PEs MPLS
CE3
L2 PBB
VID 200 B-M3 PE3 / PE4 MAC Table B-M3
SMAC: M11 B-M2 I-SID 100 B-M2
DMAC: M33
C-MAC B-MAC
During startup, PE2 PE2 PE4
advertises: PE2 PE4 M1 B-M1
Ethernet Segment route PE3, PE4 RIB Path List
MAC Route for B-MAC B- PE3 / PE4 MAC Table
M2 VPN MAC ESI NH I-SID 200
PE2 elected DF for I-SID RT-a B-M1 n/a PE1 C-MAC B-MAC
200 M11 B-M2
RT-a B-M2 n/a PE2
BRKMPL-2333 2016 Cisco and/or its affiliates. All rights reserved. Cisco Public 101